mac80211: check if mesh frame is in RMC after decrypt
authorThomas Pedersen <thomas@cozybit.com>
Thu, 1 Sep 2011 19:32:14 +0000 (12:32 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Sep 2011 17:56:16 +0000 (13:56 -0400)
commit2157fdd6ae3f760a95c5c50072a1b4ac656eb9f5
tree9964525f86c7d6deb9c55a1ebbc8e4f2871a8e60
parent8c771244fbab51661da7dbbabfa5dceffb3e3cce
mac80211: check if mesh frame is in RMC after decrypt

To check whether a frame is in the RMC, we need access to the mesh
header.  This header is encrypted in encrypted data frames, so make this
check after the frame has been decrypted.

Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rx.c