summaryrefslogtreecommitdiffstats
path: root/fs/compat.c
diff options
context:
space:
mode:
authorLuciano Coelho <luciano.coelho@nokia.com>2010-12-03 17:05:40 +0200
committerLuciano Coelho <luciano.coelho@nokia.com>2010-12-15 15:00:00 +0200
commitfb6a6819fad0d71b47577a51709440a9f8441f0a (patch)
treeef0b24de2db091f60e9f2d58b4a06894d8203550 /fs/compat.c
parent1036dc169f4cc6e5b753b1596d285d1cc3311a23 (diff)
downloadlinux-stable-fb6a6819fad0d71b47577a51709440a9f8441f0a.tar.gz
linux-stable-fb6a6819fad0d71b47577a51709440a9f8441f0a.tar.bz2
linux-stable-fb6a6819fad0d71b47577a51709440a9f8441f0a.zip
wl12xx: disable 11a channels when wl->enable_11a is known
Disabling the 11a channels when not supported in the reg_notify function was not working as it should, because when the driver is initiailizing (and registering itself with mac80211), it would get the reg notification too early. At that point the driver wouldn't have received the NVS yet, so it wouldn't know whether 11a was supported. To fix this, we disable 11a channels when we read the NVS instead. Also, it is easier (and still safe) to set n_channels to zero instead of setting the disabled flag on every 11a channel. Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Diffstat (limited to 'fs/compat.c')
0 files changed, 0 insertions, 0 deletions