mac80211: fix harmless station flush warning
authorJohannes Berg <johannes.berg@intel.com>
Fri, 15 Feb 2013 10:47:50 +0000 (11:47 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 18 Feb 2013 12:48:40 +0000 (13:48 +0100)
commit572078be54856bf751af9a43d501ffb8d09b1ea7
tree8b76390d92edd1ac46ab9f828923d61481ad51a9
parent6295ca184b6216ecde68f16f487a524734761adf
mac80211: fix harmless station flush warning

If an interface is set down while authenticating or
associating, there's a station entry that will be
removed by the flushing in do_stop() and that will
cause a warning. It's otherwise harmless, but avoid
the warning by calling ieee80211_mgd_stop() first.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/iface.c