Skip to content
Commit fa8809a5 authored by Johannes Berg's avatar Johannes Berg
Browse files

wifi: cfg80211: hold wiphy lock in cfg80211_any_wiphy_oper_chan()



We have the RTNL here for the iteration, but we need to lock
each wiphy separately as well for using its data. Hold the
wiphy lock for all of the ones in the iteration. Note that
this implies we cannot already hold the wiphy mutex for the
wiphy passed by the argument, but that's true now.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent beb2df47
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment