wl12xx: use 802.11 header location after relocation to frame start
authorArik Nemtsov <arik@wizery.com>
Sun, 26 Jun 2011 07:36:04 +0000 (10:36 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 5 Jul 2011 18:33:20 +0000 (21:33 +0300)
commitfae2fd767e9d380ed0d05e4a5d6b1673e2c2d3df
tree0a0c972262bca63ed5c702c8819781a24a40ef23
parent3618f30f307841dba19f22d9c602a5c59cab30c7
wl12xx: use 802.11 header location after relocation to frame start

When operating with TKIP encryption, the function wl1271_tx_fill_hdr()
relocates the 802.11 header to the start of the frame, and leaves room
for the security header.

Some functions in the Tx path rely on the location of the header,
namely, for purposes of roaming in STA mode and connecting new stations
in AP mode. Call these functions only after the header is relocated.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/tx.c