ath9k_htc: Fix TKIP encryption
authorSujith <Sujith.Manoharan@atheros.com>
Tue, 30 Mar 2010 03:18:27 +0000 (08:48 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 31 Mar 2010 18:46:41 +0000 (14:46 -0400)
commit32fbccafed7e935432b601f0453c2b702a385a25
tree212c7ba1e0fd15dcb2dabe5367c7029525c763b1
parent29bffa96e9bef4fb84740a49e93d5bd6ca126bac
ath9k_htc: Fix TKIP encryption

Set IEEE80211_HW_RX_INCLUDES_FCS to indicate that
the FCS is present in RX frames. Also, remove a redundant
assignment of skb length and include the FCS_LEN
when checking padding.

Fixing this issue makes TKIP work.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/htc_drv_init.c
drivers/net/wireless/ath/ath9k/htc_drv_txrx.c