Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
---- a/net/mac80211/iface.c 2010-01-06 14:55:28.000000000 -0800
-+++ b/net/mac80211/iface.c 2010-01-06 14:55:28.000000000 -0800
-@@ -937,6 +937,7 @@ void ieee80211_if_remove(struct ieee8021
+--- a/net/mac80211/iface.c 2010-01-11 09:21:58.000000000 -0800
++++ b/net/mac80211/iface.c 2010-01-11 09:21:58.000000000 -0800
+@@ -938,6 +938,7 @@
* Remove all interfaces, may only be called at hardware unregistration
* time because it doesn't do RCU-safe list removals.
*/
void ieee80211_remove_interfaces(struct ieee80211_local *local)
{
struct ieee80211_sub_if_data *sdata, *tmp;
-@@ -953,6 +954,22 @@ void ieee80211_remove_interfaces(struct
+@@ -954,6 +955,22 @@
mutex_unlock(&local->iflist_mtx);
unregister_netdevice_many(&unreg_list);
}