iwlwifi: mvm: dump frames early on invalid rate
authorSara Sharon <sara.sharon@intel.com>
Mon, 13 Feb 2017 11:36:31 +0000 (13:36 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 19 Apr 2017 19:21:49 +0000 (22:21 +0300)
commitcb2de6bb4f129683673da907b71344d59a38c55a
treed91332688ee294495c891d397536acada183d99d
parentbc0294696456365f1e80fa8a0a6e13d076316b30
iwlwifi: mvm: dump frames early on invalid rate

Currently when rate isn't found (invalid rate or CCK rate in high
band) driver is assigning rate -1, which causes mac80211 to dump
it later with the cryptic rate value of 0xFF.
Instead, warn early and dump the frame in mvm.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rx.c
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c