From: Seth Forshee Date: Wed, 1 Aug 2012 20:58:43 +0000 (-0500) Subject: brcmsmac: use channel flags to restrict OFDM X-Git-Tag: v3.6-rc2~24^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f38e5bc93203bc76b215dcd2df2067b5b0e004c;p=pandora-kernel.git brcmsmac: use channel flags to restrict OFDM brcmsmac cannot call freq_reg_info() during channel changes as it does not hold cfg80211_lock, and as a result it generates a lockdep warning. freq_reg_info() is being used to determine whether OFDM is allowed on the current channel, so we can avoid the errant call by using the new IEEE80211_CHAN_NO_OFDM for this purpose instead. Reported-by: Josh Boyer Signed-off-by: Seth Forshee Signed-off-by: John W. Linville --- Reading git-diff-tree failed