Skip to contentSkip to conversation

ath6kl: remove useless ibss_joined notification on ibss_leave

PATCH New Antonio Quartulli 1 participant 1 message Jan 28, 2014 Atheros ATH6KL wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ath6kl: remove useless ibss_joined notification on ibss_leave

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.

---

Change from v1:
- remove the correct line!

 drivers/net/wireless/ath/ath6kl/cfg80211.c | 2 --
 1 file changed, 2 deletions(-)
drivers/net/wireless/ath/ath6kl/cfg80211.c +0 -2
index eba32f5..d40a8ef 100644
@@ -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;
 	}
 
Signature · 1 line
1.8.5.3