]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: don't hold RTNL in color change request
authorJohannes Berg <johannes.berg@intel.com>
Thu, 14 Apr 2022 12:04:02 +0000 (14:04 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 4 May 2022 10:30:27 +0000 (12:30 +0200)
commit5e617f855f91016adf8c348d9953acfe1af532fd
tree51be5f9ec9cdc35fee967ae6799a69fd933bc1c8
parentdbb26469fd82949e2067a259dccc499c143acef7
nl80211: don't hold RTNL in color change request

It's not necessary to hold the RTNL across color change
requests, since all the inner locking needs only the
wiphy mutex which we already hold as well.

Fixes: d55ca2e8bc4f ("nl80211: add support for BSS coloring")
Link: https://lore.kernel.org/r/20220414140402.32e03e8c261b.I5e7dc6bc563a129b938c43298da6bb4e812400a5@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c