]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1010d14a8efc4fd9c6b66851c87c2ccf80b4559f
treeef385a3023ae0391a34c1c289c3b6bc6383e7cff
parent49caf6aabcafc8268dd6044e02d4aaa2783554d6
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