iwlwifi: mvm: quietly accept non-sta disassoc frames
authorJohannes Berg <johannes.berg@intel.com>
Mon, 12 Jun 2017 09:24:06 +0000 (11:24 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 29 Jun 2017 18:02:50 +0000 (21:02 +0300)
commit51da3d8b94485a8397ae7af3bfdb65feaf582202
tree4ba706457a6321c17c3478ea828653d0f060efdf
parent678d9b6dddea3869e78996a94ade8dc6d1b5fe68
iwlwifi: mvm: quietly accept non-sta disassoc frames

When a station that's not associated sends a data frame (e.g. an NDP)
hostapd will respond with a disassoc frame, telling it that it's not
associated. The station might also not be authenticated, in which case
there will not be a station entry for it, and as a result we need to
accept such frames without a station.

Fixes: 3ee0f0e23e4f ("iwlwifi: mvm: fix DQA AP mode station assumption")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/tx.c