rt2800lib: enable MFP if hw crypt is disabled
authorChun-Yeow Yeoh <yeohchunyeow@gmail.com>
Wed, 20 Apr 2016 16:41:34 +0000 (00:41 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 26 Apr 2016 09:30:43 +0000 (12:30 +0300)
commit2557654df14b95141f1410127c33ed1661a8abbb
tree3fb0023d4404d2b70f2c1e655a62a9b333860c70
parent81542fac6eae586e0d6fd502618342e8e20b4c5a
rt2800lib: enable MFP if hw crypt is disabled

If rt2800usb is loaded with nohwcrypt=1, mac80211 takes
care of the crypto with software encryption/decryption
and thus, MFP can be used.

Tested for secured mesh using ath9k_htc and ath9k.

Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ralink/rt2x00/rt2800lib.c