]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
cfg80211: Fix sanity check on 5 GHz when processing country IE
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 22 Jan 2009 23:05:46 +0000 (15:05 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 20:46:43 +0000 (15:46 -0500)
commit615aab4b75dfa77b00c372330d6f70edd2458bf9
tree587bfa08b616a7149209c46383a61bc51b85bed6
parent1f304e4e3bb161163d9f5bc3c6467a2a6fa9b3ae
cfg80211: Fix sanity check on 5 GHz when processing country IE

This fixes two issues with the sanity check loop when processing
the country IE:

1. Do not use frequency for the current subband channel check,
   this was a big fat typo.
2. Apply the 5 GHz 4-channel steps when considering max channel
   on each subband as was done with a recent patch.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/reg.c