iwlwifi: mvm: free RX reorder buffer on restart
authorSara Sharon <sara.sharon@intel.com>
Tue, 21 Jun 2016 11:14:08 +0000 (14:14 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 6 Jul 2016 07:06:01 +0000 (10:06 +0300)
commit60dec5233cd8651860e8010c953d116fb0f1ba86
tree3ea42e0c2672cd68f67ab1f1960be0306834889b
parent35263a03115726dcd393bc96504adbdd6ef08216
iwlwifi: mvm: free RX reorder buffer on restart

Restart flow zeroes the rx_ba_sessions counter. Mac80211 asks
driver to tear down of the session only afterwards, and as a
result driver didn't free the data. Fix it.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Fixes: 10b2b2019d81 ("iwlwifi: mvm: add infrastructure for tracking BA session in driver")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/sta.c