aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorJohannes Berg2012-06-20 11:47:42 +0200
committerJohannes Berg2012-06-21 10:01:43 +0200
commite75dac921d88ac1fa1ad08686ab242556f8b888b (patch)
treeba963445c11d972497f1e06bf543a4b9325548ff /init
parente9c03d18c4291c4351d6b9f74bd1278a761015a2 (diff)
iwlwifi: limit mac_change_interface to BSS context
Currently when mac80211 asks to change the interface type, we will accept it for both the BSS and PAN contexts. This is not terribly complicated today, but with the addition of the P2P Device abstraction the PAN context handling will get more complex, so restrict mac_change_interface to the BSS context. Also fix a small locking issue and use is_active instead of the vif pointer to check if the other context is activated, guarding exclusive interface types on the BSS context (IBSS) against the PAN context being used for something else. Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions