]> git.baikalelectronics.ru Git - kernel.git/commit
wil6210: remove erroneous wiphy locking
authorJohannes Berg <johannes.berg@intel.com>
Mon, 26 Apr 2021 19:29:30 +0000 (21:29 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 15 Jun 2021 14:06:40 +0000 (17:06 +0300)
commitb8ef1bd596986ccf7af6292a8c0776e8e43bdbf2
treeed2d122716a7b1225815ad6b73d6eb2a47f389ca
parent95e575c84247dc7f7d109cb8bd6a39a91c00ef85
wil6210: remove erroneous wiphy locking

We already hold the wiphy lock in all cases when we get
here, so this would deadlock, remove the erroneous locking.

Fixes: 31793ce79203 ("cfg80211: avoid holding the RTNL when calling the driver")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210426212929.83f1de07c2cd.I630a2a00eff185ba0452324b3d3f645e01128a95@changeid
drivers/net/wireless/ath/wil6210/cfg80211.c