diff options
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r-- | net/mac80211/iface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index 4a623b8e91fd..672cec60a2fb 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c | |||
@@ -31,11 +31,11 @@ static void ieee80211_teardown_sdata(struct net_device *dev) | |||
31 | int flushed; | 31 | int flushed; |
32 | int i; | 32 | int i; |
33 | 33 | ||
34 | ieee80211_debugfs_remove_netdev(sdata); | ||
35 | |||
36 | /* free extra data */ | 34 | /* free extra data */ |
37 | ieee80211_free_keys(sdata); | 35 | ieee80211_free_keys(sdata); |
38 | 36 | ||
37 | ieee80211_debugfs_remove_netdev(sdata); | ||
38 | |||
39 | for (i = 0; i < IEEE80211_FRAGMENT_MAX; i++) | 39 | for (i = 0; i < IEEE80211_FRAGMENT_MAX; i++) |
40 | __skb_queue_purge(&sdata->fragments[i].skb_list); | 40 | __skb_queue_purge(&sdata->fragments[i].skb_list); |
41 | sdata->fragment_next = 0; | 41 | sdata->fragment_next = 0; |