]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: refactor the WEP code to be directly usable
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 7 Jul 2009 01:45:18 +0000 (03:45 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 19:02:31 +0000 (15:02 -0400)
commit1564daa64877ce09c48c0042ee2146212d8bc549
tree3d42b42b814b77554ade322923af86035ed4d141
parent197c49a02a0b97adae8e3c6be8c31c19366b89c5
mac80211: refactor the WEP code to be directly usable

The new key work for cfg80211 will only give us the WEP
key for shared auth to do that authentication, and not
via the regular key settings, so we need to be able to
encrypt a single frame in software, and that without a
key struct. Thus, refactor the WEP code to not require
a key structure but use the key, len and idx directly.

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