]> 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)
commit5f97d4fb6aabadd3197db9220ed85ce3f47b1e21
tree0a0c972262bca63ed5c702c8819781a24a40ef23
parent6d4c649c8e244ea2c6b52258c1d9814fde7de756
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