From: Johannes Berg Date: Mon, 3 Mar 2014 12:55:54 +0000 (+0100) Subject: cfg80211: remove racy beacon_interval assignment X-Git-Tag: v3.14-rc7~10^2~26^2^2~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc00a91d627026f08abf69bf5d0015499dd30c2a;p=pandora-kernel.git cfg80211: remove racy beacon_interval assignment In case of AP mode, the beacon interval is already reset to zero inside cfg80211_stop_ap(), and in the other modes it isn't relevant. Remove the assignment to remove a potential race since the assignment isn't properly locked. Reported-by: Michal Kazior Signed-off-by: Johannes Berg --- Reading git-diff-tree failed