* [PATCHv2] ath6kl: remove useless ibss_joined notification on ibss_leave
@ 2014-01-28 16:07 Antonio Quartulli
0 siblings, 0 replies; only message in thread
From: Antonio Quartulli @ 2014-01-28 16:07 UTC (permalink / raw)
To: Kalle Valo; +Cc: linux-wireless, John W. Linville, Antonio Quartulli
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>
---
Change from v1:
- remove the correct line!
drivers/net/wireless/ath/ath6kl/cfg80211.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c b/drivers/net/wireless/ath/ath6kl/cfg80211.c
index eba32f5..d40a8ef 100644
--- a/drivers/net/wireless/ath/ath6kl/cfg80211.c
+++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c
@@ -866,8 +866,6 @@ void ath6kl_cfg80211_disconnect_event(struct ath6kl_vif *vif, u8 reason,
"%s: ath6k not in ibss mode\n", __func__);
return;
}
- memset(bssid, 0, ETH_ALEN);
- cfg80211_ibss_joined(vif->ndev, bssid, GFP_KERNEL);
return;
}
--
1.8.5.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-01-28 16:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-28 16:07 [PATCHv2] ath6kl: remove useless ibss_joined notification on ibss_leave 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).