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

wifi: cfg80211: silence a sparse RCU warning

All we're going to do with this pointer is assign it to
another __rcu pointer, but sparse can't see that, so
use rcu_access_pointer() to silence the warning here.

Fixes: c90b93b5

 ("wifi: cfg80211: update hidden BSSes to avoid WARN_ON")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 66063033
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment