mac80211: reconfig bss_info_changed only if beaconing
authorJohannes Berg <johannes.berg@intel.com>
Fri, 14 Dec 2012 13:17:26 +0000 (14:17 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 12:01:36 +0000 (13:01 +0100)
commit8da349329ae52462253052f804ef30d086c9911a
treeef385a3023ae0391a34c1c289c3b6bc6383e7cff
parentd6a83228823fc0cc8d79d95c9f0bf568b7317862
mac80211: reconfig bss_info_changed only if beaconing

For AP/IBSS/mesh interfaces, call the driver to reconfigure
bss_info_changed only if the interface was beaconing before
suspend, otherwise we call the driver and it might interpret
the change as going from enabled to disabled.

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