mac80211: fix STA channel width field
authorThomas Pedersen <thomas@cozybit.com>
Thu, 19 Apr 2012 02:24:14 +0000 (19:24 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 23 Apr 2012 19:34:07 +0000 (15:34 -0400)
commitaee286c2cf94929f90d4d1f64ee9b316007ba284
treeca3f8a9e70d36d2960b8f8620c328b135c3c7483
parente76781e48f969e044d318485274b9574f1ccc3dd
mac80211: fix STA channel width field

According to IEEE 802.11 8.4.2.59, set the "STA channel width" bit to 0
if transmitting STA is using a 20mhz channel.

Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/util.c