From: Simon Wunderlich Date: Thu, 21 Nov 2013 17:19:50 +0000 (+0100) Subject: mac80211: modify beacon using sdata/wdev-lock, not rtnl lock X-Git-Tag: v3.14-rc1~94^2~334^2^2~96 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ca133bc7f9dd5cee2b469eb917bd352be80a690;p=pandora-kernel.git 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: Johannes Berg Signed-off-by: Simon Wunderlich [fix sdata_dereference] Signed-off-by: Johannes Berg --- Reading git-diff-tree failed