]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
cfg80211: Fix parsed country IE info for 5 GHz
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 8 Jan 2009 01:43:37 +0000 (17:43 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Jan 2009 22:08:24 +0000 (17:08 -0500)
commit02e68a3da0fbdb178cdec54b7db48edeefd1691d
tree556573da26818fbfb7edac0f1ccc989fe6674611
parent0c7dc45d21de6ae212b5ccb7cdff5beff795ccf0
cfg80211: Fix parsed country IE info for 5 GHz

The country IE number of channels on 5 GHz specifies the number
of 5 GHz channels, not the number of sequential channel numbers.
For example, if in a country IEs if the first channel given is 36
and the number of channels passed is 4 then the individual channel
numbers defined for the 5 GHz PHY by these parameters

are: 36, 40, 44, 48
not: 36, 37, 38, 39

See: http://tinyurl.com/11d-clarification

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