b28807104e80926d33eec8634dd94c5561e64ab parent 6774889314ba507483e63c014fcb81adfc127202 author Johannes Berg 1286268107 +0200 committer John W. Linville 1286300271 -0400 mac80211: fix deadlock with multiple interfaces The locking around ieee80211_recalc_smps is buggy -- it cannot acquire another interface's mutex while the iflist mutex is held because another code path could be holding the iface mutex and trying to acquire the iflist mutex. But the locking is also unnecessary, we only check "ifmgd->associated" as a bool, and don't use the pointer (in check_mgd_smps). Reported-by: Ben Greear Signed-off-by: Johannes Berg Signed-off-by: John W. Linville 4E h–