iwlwifi: mvm: add station before allocating a queue
authorShaul Triebitz <shaul.triebitz@intel.com>
Mon, 10 Jul 2017 16:58:10 +0000 (19:58 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 9 Aug 2017 18:14:42 +0000 (21:14 +0300)
commit732d06e9d9cf96c39cd1c0cd16472930a5583bb7
tree32d7dfd901274a255a0244fc72d3d106f966c6d9
parent0bef1b83d35566e9bc757469c823c126862a65d3
iwlwifi: mvm: add station before allocating a queue

One of the queue config params is the associated station id.
Hence the FW must know about the station prior to the queue allocation.
In a000 devices, allocating a queue without a valid station
results with assert 0x2B00.
In FW restart flow the queues are allocated before
adding the station so first add the station.

Signed-off-by: Shaul Triebitz <shaul.triebitz@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/sta.c