]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: use atomic interface iteration to avoid deadlock
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 11 Feb 2013 13:56:01 +0000 (15:56 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 12 Feb 2013 15:07:14 +0000 (16:07 +0100)
commit677a66950d4b558cb2be9d978c3a1f9867854c1d
treeb7b4220cfa4df37a368840899a11150ba836a7d5
parent07fdb0b3f2b6fb24098689ba68afc00fd5c37259
iwlwifi: mvm: use atomic interface iteration to avoid deadlock

Using the non-atomic version creates a dependency between
mac80211's iflist_mtx and mvm->mutex. Use the atomic version
instead which doesn't take iflist_mtx but can't sleep, so
send the HCMD in ASYNC.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/power.c