]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix panic when using hardware WEP
authorPavel Roskin <proski@gnu.org>
Mon, 2 Jun 2008 11:54:50 +0000 (07:54 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 3 Jun 2008 19:00:29 +0000 (15:00 -0400)
commitdba75f9b1c7ea46d1da4569c892d4179aedcaca2
tree281f8693f9c3040ed788f0e3d913e68537646dd2
parent72c62745eca3e1fc6ad031ee72f58fef58c3b55b
mac80211: fix panic when using hardware WEP

f9cf4005a5d2d017dde394cdde47c08d90195587 ("mac80211: move TX info into
skb->cb") misplaced code for setting hardware WEP keys.  Move it back.
This fixes kernel panic in b43 if WEP is used and hardware encryption
is enabled.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/wep.c