linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ath6kl: removed useless ibss_joined notification on ibss_leave
@ 2014-01-28 16:00 Antonio Quartulli
  2014-01-28 16:01 ` Antonio Quartulli
  0 siblings, 1 reply; 2+ messages in thread
From: Antonio Quartulli @ 2014-01-28 16:00 UTC (permalink / raw)
  To: Johannes Berg
  Cc: linux-wireless, John W. Linville, Antonio Quartulli, Kalle Valo

When leaving an IBSS there is no need to send cfg80211 a
fake notification about "having joined a cell with zero
BSSID".
This operation has the only effect to create a BSS object
that is not going to be used.

Cc: Kalle Valo <kvalo@qca.qualcomm.com>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
---
 drivers/net/wireless/ath/ath6kl/cfg80211.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c b/drivers/net/wireless/ath/ath6kl/cfg80211.c
index eba32f5..8ce1ce5 100644
--- a/drivers/net/wireless/ath/ath6kl/cfg80211.c
+++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c
@@ -790,7 +790,6 @@ void ath6kl_cfg80211_connect_event(struct ath6kl_vif *vif, u16 channel,
 	if (nw_type & ADHOC_NETWORK) {
 		ath6kl_dbg(ATH6KL_DBG_WLAN_CFG, "ad-hoc %s selected\n",
 			   nw_type & ADHOC_CREATOR ? "creator" : "joiner");
-		cfg80211_ibss_joined(vif->ndev, bssid, GFP_KERNEL);
 		cfg80211_put_bss(ar->wiphy, bss);
 		return;
 	}
-- 
1.8.5.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ath6kl: removed useless ibss_joined notification on ibss_leave
  2014-01-28 16:00 [PATCH] ath6kl: removed useless ibss_joined notification on ibss_leave Antonio Quartulli
@ 2014-01-28 16:01 ` Antonio Quartulli
  0 siblings, 0 replies; 2+ messages in thread
From: Antonio Quartulli @ 2014-01-28 16:01 UTC (permalink / raw)
  To: Johannes Berg
  Cc: linux-wireless, John W. Linville, Antonio Quartulli, Kalle Valo

[-- Attachment #1: Type: text/plain, Size: 1105 bytes --]

On 28/01/14 17:00, Antonio Quartulli wrote:
> When leaving an IBSS there is no need to send cfg80211 a
> fake notification about "having joined a cell with zero
> BSSID".
> This operation has the only effect to create a BSS object
> that is not going to be used.
> 
> Cc: Kalle Valo <kvalo@qca.qualcomm.com>
> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
> ---
>  drivers/net/wireless/ath/ath6kl/cfg80211.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c b/drivers/net/wireless/ath/ath6kl/cfg80211.c
> index eba32f5..8ce1ce5 100644
> --- a/drivers/net/wireless/ath/ath6kl/cfg80211.c
> +++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c
> @@ -790,7 +790,6 @@ void ath6kl_cfg80211_connect_event(struct ath6kl_vif *vif, u16 channel,
>  	if (nw_type & ADHOC_NETWORK) {
>  		ath6kl_dbg(ATH6KL_DBG_WLAN_CFG, "ad-hoc %s selected\n",
>  			   nw_type & ADHOC_CREATOR ? "creator" : "joiner");


Of course I messed it up :)
This is not the right place for this change!!!
Will send v2.


Cheers,

-- 
Antonio Quartulli


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-28 16:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-28 16:00 [PATCH] ath6kl: removed useless ibss_joined notification on ibss_leave Antonio Quartulli
2014-01-28 16:01 ` Antonio Quartulli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).