diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_main.c b/drivers/net/wireless/wl12xx/wl1271_main.c index 6f6d366491a3..0bebc456ec0d 100644 --- a/drivers/net/wireless/wl12xx/wl1271_main.c +++ b/drivers/net/wireless/wl12xx/wl1271_main.c | |||
@@ -1029,12 +1029,13 @@ static void wl1271_op_remove_interface(struct ieee80211_hw *hw, | |||
1029 | struct wl1271 *wl = hw->priv; | 1029 | struct wl1271 *wl = hw->priv; |
1030 | int i; | 1030 | int i; |
1031 | 1031 | ||
1032 | unregister_inetaddr_notifier(&wl1271_dev_notifier); | ||
1033 | |||
1032 | mutex_lock(&wl->mutex); | 1034 | mutex_lock(&wl->mutex); |
1033 | wl1271_debug(DEBUG_MAC80211, "mac80211 remove interface"); | 1035 | wl1271_debug(DEBUG_MAC80211, "mac80211 remove interface"); |
1034 | 1036 | ||
1035 | wl1271_info("down"); | 1037 | wl1271_info("down"); |
1036 | 1038 | ||
1037 | unregister_inetaddr_notifier(&wl1271_dev_notifier); | ||
1038 | list_del(&wl->list); | 1039 | list_del(&wl->list); |
1039 | 1040 | ||
1040 | WARN_ON(wl->state != WL1271_STATE_ON); | 1041 | WARN_ON(wl->state != WL1271_STATE_ON); |