From: Eliad Peller Date: Wed, 7 Jan 2015 15:50:09 +0000 (+0200) Subject: mac80211: remove local->radar_detect_enabled X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~206^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cbc95a749c5f3b238af0953881edede9bfe5bf6;p=pandora-kernel.git mac80211: remove local->radar_detect_enabled local->radar_detect_enabled should tell whether radar_detect is enabled on any interface belonging to local. However, it's not getting updated correctly in many cases (actually, when testing with hwsim it's never been set, even when the dfs master is beaconing). Instead of handling all the corner cases (e.g. channel switch), simply check whether radar detection is enabled only when needed, instead of caching the result. Signed-off-by: Eliad Peller Signed-off-by: Johannes Berg --- Reading git-diff-tree failed