]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] mac80211: consolidate decryption
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 26 Sep 2007 13:19:40 +0000 (15:19 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:53:13 +0000 (16:53 -0700)
commit4f0d18e26f8bc4c6507b69aa0080d0fae807c990
treeb9ef529b35cec6a81b8b7868c80088a30aa6bc9d
parentb2e7771e556917cc301a3308561f49b2b2272c07
[PATCH] mac80211: consolidate decryption

Currently, we run through all three crypto algorithms for each
received frame even though we have previously determined which
key we have and as such already know which algorithm will be
used. Change it to invoke only the needed function. Also move
the WEP decrypt handler to wep.c so that fewer functions need
to be non-static.

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