]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit24d286a7985f3266472302166c0e0bf45869b3c4
tree0a0c972262bca63ed5c702c8819781a24a40ef23
parentec2dbc6e974426b013b0d7493ede22dc7424e2a2
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