]> git.baikalelectronics.ru Git - kernel.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)
commit23c837692518952ce515d12a71bdd8d4b8b5b4ee
tree587bfa08b616a7149209c46383a61bc51b85bed6
parent05a532aa5aa9b0e3ced554520a4ea85280dc4cd5
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