mac80211: ibss: disable beaconing before freeing beacon
authorJohannes Berg <johannes.berg@intel.com>
Thu, 7 Mar 2013 19:22:28 +0000 (20:22 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Mar 2013 13:42:39 +0000 (14:42 +0100)
commit1852d40eaba36fe1e97e0e497ffce291c99f5886
tree6eb0435e6943fd7605b4fcf9d6543d735cbb03b6
parent8bf24293453a10a696bcd00abb1248e6365f66c2
mac80211: ibss: disable beaconing before freeing beacon

If we don't disable beaconing, the driver might attempt
to continue, but would fail to request a beacon. That's
strange, so disable beaconing first.

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