mac80211: Reorder debugfs calls during netdev deinit
authorJouni Malinen <j@w1.fi>
Tue, 9 Sep 2008 14:33:15 +0000 (16:33 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 11 Sep 2008 19:53:40 +0000 (15:53 -0400)
commitaee14ceb5230afb5c17a4e28222ab9734ffd5002
treeed9e711cc82cfca3bd4ce3d586764ffd33d22365
parente50db65c0dad109aae77c353305853b31555b228
mac80211: Reorder debugfs calls during netdev deinit

ieee80211_free_keys() must be called before
ieee80211_debugfs_remove_netdev() in order to make sure that the
possible default_key symlink is removed before attempting to
remove the netdev debugfs directory.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/iface.c