aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/davinci_voicecodec.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-06-20 05:47:42 -0400
committerJohannes Berg <johannes.berg@intel.com>2012-06-21 04:01:43 -0400
commite75dac921d88ac1fa1ad08686ab242556f8b888b (patch)
treeba963445c11d972497f1e06bf543a4b9325548ff /drivers/mfd/davinci_voicecodec.c
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 'drivers/mfd/davinci_voicecodec.c')
0 files changed, 0 insertions, 0 deletions