Commit fadae824 authored by Simon Wunderlich's avatar Simon Wunderlich Committed by Kalle Valo
Browse files

mac80211: modify beacon using sdata/wdev-lock, not rtnl lock



The csa finalize worker needs to change the beacon information (for
different modes). These are normally protected under rtnl lock, but the
csa finalize worker is called by drivers and should not acquire the RTNL
lock. Therefore change access protection for beacons to sdata/wdev lock.

Reported-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarSimon Wunderlich <sw@simonwunderlich.de>
[fix sdata_dereference]
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>

(cherry picked from commit 7ca133bc)
parent 515f6399
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment