wlcore: use basic rates for non-data packets
commit4340d1cf5f1a967074f5dabec09a06fc0ae52ac7
authorEliad Peller <eliad@wizery.com>
Wed, 11 Jul 2012 15:01:49 +0000 (11 18:01 +0300)
committerLuciano Coelho <coelho@ti.com>
Wed, 18 Jul 2012 12:08:21 +0000 (18 15:08 +0300)
tree1edcf810a868a6aeb713369e07bb94c8b7685c1a
parent42066f9a5ffc212ec0ff5c23ed2fb92464191543
wlcore: use basic rates for non-data packets

After the latest mac80211 changes, the sta has
the ap's sta pointer even before association.

This cause the auth and assoc frames to be sent
with the standard ap's rates, rather than the
basic rates.

Change the tx rate policy logic to use the regular
ap rates only for data packets (so control and mgmt
packets will be sent with basic rates)

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/tx.c