commit | 0bb861e6be624111e9f85ade89b9e7548c5eb968 | [log] [tgz] |
---|---|---|
author | Jouni Malinen <jouni@qca.qualcomm.com> | Tue Oct 22 14:11:17 2013 +0300 |
committer | Johannes Berg <johannes.berg@intel.com> | Mon Oct 28 15:11:07 2013 +0100 |
tree | 0ccc2701939bf2ef7e0451db4b6ab8368cfd6f9a | |
parent | 0951ebb8aa219115cec6a53c033ee34715a248db [diff] |
mac80211_hwsim: Fix tracking of beaconing for multi-vif mac80211_hwsim canceled beacon_timer on any vif changing from enabled to disabled beaconing. This breaks cases where there are multiple beaconing vifs and only one of them is removed. Fix this by tracking beaconing status per vif and disable beacon_timer only if no active vif remain with beaconing enabled. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>