From: Jouni Malinen Date: Tue, 22 Oct 2013 11:11:17 +0000 (+0300) Subject: mac80211_hwsim: Fix tracking of beaconing for multi-vif X-Git-Tag: v3.13-rc1~105^2~23^2^2~6^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bb861e6be624111e9f85ade89b9e7548c5eb968;p=pandora-kernel.git 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 Signed-off-by: Johannes Berg --- Reading git-diff-tree failed