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)
commit216bce90b811a35eb5cd2ed8216bdbb1753e9b2b
tree1e0b8fd87ca2e36bdf668afe264f15555bf65b5a
parent16f2e85d3151efa643879fa5aa87c9d77d60f57e
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