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)
commit1b550a0bebfc0b69d6ec08fe6eb58953a8aec48a
tree51be5f9ec9cdc35fee967ae6799a69fd933bc1c8
parent34c9a0e71cbb316f360919353273b185c2780cd7
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: 0d2ab3aea50b ("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