]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitba282508be0fdfb361e660f0b72534ac7a133618
tree94970130c987b71eb63f323b602447c99fe57ccc
parentb81e010959784160e74d2644be4ef1e5db5a1981
[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