]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: use short_preamble mode from capability if ERP IE not present
authorVladimir Koutny <vlado@work.ksp.sk>
Mon, 31 Mar 2008 15:05:10 +0000 (17:05 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 9 Apr 2008 14:33:49 +0000 (10:33 -0400)
commitc4660419fd3eecab643ccf44a6c3082b7c00011b
tree1e0b8fd87ca2e36bdf668afe264f15555bf65b5a
parent0dcf4d8d6e2b214d172962fc48d15a661f5fc641
mac80211: use short_preamble mode from capability if ERP IE not present

When associating to a b-only AP where there is no ERP IE, short preamble
mode is left at previous state (probably also protection mode). In this
case, disable protection and use short preamble mode as specified in
capability field. The same is done if capability field is changed on-the-fly.

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