]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: Ingore country IEs with a zero set of number of channels
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 14 Jan 2010 18:27:46 +0000 (13:27 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 14 Jan 2010 23:16:56 +0000 (18:16 -0500)
commitf89cef0ce66e832e68c1f3bf7c14d5e1f246c263
tree02f1ecd172092dec6dec9a13806daccf3a53b290
parent4e04b918045f10a5957ce83bbba5f5c9dbd992b3
cfg80211: Ingore country IEs with a zero set of number of channels

Previous to this and the last patch, titled,

"cfg80211: Fix 2 GHz subband calculation for country IEs"

we would end up treating these IEs as single channel units. These are in
fact just bogus IE triplets so ignore the entire IE if these are found.

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