Skip to contentSkip to conversation

brcmsmac: Fix merge issue

PATCH In review Piotr Haber 2 participants 2 messages Apr 25, 2013 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 brcmsmac: Fix merge issue

Commit 7088f4835aa353f7226e57e73fd9e6564a4dfb75 "Merge branch 'master' of
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless"
ramoved call to brcms_led_unregister in mac80211_if.c

---
 .../net/wireless/brcm80211/brcmsmac/mac80211_if.c  |    1 +
 1 file changed, 1 insertion(+)
drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c +1 -0
index 2346821..3a65447 100644
@@ -336,6 +336,7 @@ static void brcms_remove(struct bcma_device *pdev)
 	struct brcms_info *wl = hw->priv;
 
 	if (wl->wlc) {
+		brcms_led_unregister(wl);
 		wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, false);
 		wiphy_rfkill_stop_polling(wl->pub->ieee_hw->wiphy);
 		ieee80211_unregister_hw(hw);
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 5 lines · Piotr Haber

Commit 7088f4835aa353f7226e57e73fd9e6564a4dfb75 "Merge branch 'master' of
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless"
ramoved call to brcms_led_unregister in mac80211_if.c

Hi Piotr,

After we discussed this, I realized that the led support was added to wireless-next, ie. for v3.10 kernel.

John,

Can you take it in wireless-next repository this close to the merge window? It applies without issues to that.

Regards,
Arend

Quoted 20 lines
---
  .../net/wireless/brcm80211/brcmsmac/mac80211_if.c  |    1 +
  1 file changed, 1 insertion(+)
drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c +1 -0
index 2346821..3a65447 100644
@@ -336,6 +336,7 @@ static void brcms_remove(struct bcma_device *pdev)
  	struct brcms_info *wl = hw->priv;
 
  	if (wl->wlc) {
+		brcms_led_unregister(wl);
  		wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, false);
  		wiphy_rfkill_stop_polling(wl->pub->ieee_hw->wiphy);
  		ieee80211_unregister_hw(hw);