[PATCH] mac80211: Defer setting of RX_FLAG_DECRYPTED.
authorMattias Nissler <mattias.nissler@gmx.de>
Sun, 7 Oct 2007 14:35:31 +0000 (16:35 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:55:23 +0000 (16:55 -0700)
commite2f036da2f8f72894988670953a1141da785e4f5
tree94970130c987b71eb63f323b602447c99fe57ccc
parent0654ff055c6ce5642eed88ba22915b0e56666794
[PATCH] mac80211: Defer setting of RX_FLAG_DECRYPTED.

The decryption handlers will skip the frame if the RX_FLAG_DECRYPTED
flag is set, so the early flag setting introduced by Johannes breaks
decryption. To work around this, call the handlers first and then set
the flag.

Signed-off-by: Mattias Nissler <mattias.nissler@gmx.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rx.c