iwlwifi: mvm: provide the actual number of frames for the SP len
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 8 Feb 2017 12:53:32 +0000 (14:53 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 19 Apr 2017 19:21:47 +0000 (22:21 +0300)
commite71ca5ea7466a7a38bb6cd83388623e47f62467b
tree8ca2bf29a1d87c1e2e96965d6f2acf8e6506ff2c
parent5d43eab6632df3a5b5bfc79025860dc4583ed0f4
iwlwifi: mvm: provide the actual number of frames for the SP len

In the end, the firmware doesn't want the SP len as present
in the WMM IE, but rather the actual number of frames.

Fixes: bd3c6cf901a8 ("iwlwifi: mvm: tell the firmware about the U-APSD parameters")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/sta.c