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)
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

Simple merge