iwlwifi: mvm: fix reorder buffer for 9000 devices
authorSara Sharon <sara.sharon@intel.com>
Mon, 4 Sep 2017 17:27:04 +0000 (20:27 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 8 Sep 2017 08:52:51 +0000 (11:52 +0300)
commit5f90472c00ddf1e64c2865f71cced297bd5f80a2
tree9145260d37fff3b2e87ca8baa7049131c84433d5
parentd460f1fb83a44833a09c8eaa34b30ce553cab8c5
iwlwifi: mvm: fix reorder buffer for 9000 devices

The condition to check if reorder buffer ran out of
space is faulty, as it takes into account only the
NSSN.
In case the head SN was too far behind the reorder
buffer should move forward, regardless of the NSSN
status.
This caused the driver to release packets out of order
in some scenarios.

Fixes: b915c10174fb ("iwlwifi: mvm: add reorder buffer per queue")
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c