mwl8k: Do not ask mac80211 to generate IV for crypto keys
authorYogesh Ashok Powar <yogeshp@marvell.com>
Thu, 5 May 2011 11:00:48 +0000 (16:30 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 May 2011 18:59:24 +0000 (14:59 -0400)
commite4eefec73ea0a740bfe8736e3ac30dfe92fe392b
treecd1881b5d190745a7fcf80c12ffee394922af0af
parenteee40820e95e6dbd7b0709e7b8cca453004ae7b1
mwl8k: Do not ask mac80211 to generate IV for crypto keys

Since firmware is capable of generating IV's for all crypto
suits (TKIP, CCMP and WEP), do not ask mac80211 to generate
IV when HW crypto is being used. Instead only reserve
appropriate space in tx skb's in the driver, so that the
firmware can write IV's values.

Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c