iwlwifi: mvm: change the check for ADD_STA status
authorSara Sharon <sara.sharon@intel.com>
Thu, 7 Jan 2016 14:50:45 +0000 (16:50 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 1 Feb 2016 14:40:24 +0000 (16:40 +0200)
commit837c4da98481d4e504b2aba077c8528fee1b6d13
tree34216529579a5ae44a565f6357a06106edb04b79
parent1c4e15a23d27e2efd56d2b9b7436bff060f126ef
iwlwifi: mvm: change the check for ADD_STA status

The firmware will return the baid for BA session in the
ADD_STA command response.
This requires masking the check of the status, which is
actually only 8 bits, and not the whole 32 bits.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw-api-sta.h
drivers/net/wireless/intel/iwlwifi/mvm/sta.c