mac80211: don't kmalloc 16 bytes
authorJohannes Berg <johannes.berg@intel.com>
Sun, 10 Oct 2010 16:52:10 +0000 (18:52 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Oct 2010 19:04:23 +0000 (15:04 -0400)
commit730bd83b036e72b0134352ca27e76ea08475fbf1
tree541b14e5985928d513011b1347e10bf6f3cda55c
parentcc2858c987f41286e059ee777c3bc09f7b7c19f6
mac80211: don't kmalloc 16 bytes

Since this small buffer isn't used for DMA,
we can simply allocate it on the stack, it
just needs to be 16 bytes of which only 8
will be used for WEP40 keys.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/wep.c