mac80211: correct use_short_preamble handling
authorVladimir Koutny <vlado@work.ksp.sk>
Mon, 31 Mar 2008 15:05:03 +0000 (17:05 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 1 Apr 2008 19:44:08 +0000 (15:44 -0400)
commitd43c7b37ad787173d08683f05eadeea0398fefdf
tree3a618a512e0874876344300b5028b97c1dc61b7a
parente645890115004fa6c4dd1f9541bb834970c8bcae
mac80211: correct use_short_preamble handling

ERP IE bit for preamble mode is 0 for short and 1 for long, not the other
way around. This fixes the value reported to the driver via
bss_conf->use_short_preamble field.

Signed-off-by: Vladimir Koutny <vlado@ksp.sk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_sta.c