]> err.no Git - linux-2.6/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)
commit2b2121417eff64125bdb7f322d3b533e06d73dae
tree281f8693f9c3040ed788f0e3d913e68537646dd2
parent5854a32e6cb672d182ce378c69f0f7470137a062
mac80211: fix panic when using hardware WEP

e039fa4a4195ac4ee895e6f3d1334beed63256fe ("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