iwlwifi: mvm: fix IBSS for devices that support station type API
authorSara Sharon <sara.sharon@intel.com>
Thu, 21 Dec 2017 13:05:28 +0000 (15:05 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 16 Feb 2018 13:34:32 +0000 (15:34 +0200)
commitfc07bd8ce19bff9e7479c04077ddb5957d1a27be
tree98955e1aec7d40b0db9d6db489de182916ec09ad
parent5ab2ba931255d8bf03009c06d58dce97de32797c
iwlwifi: mvm: fix IBSS for devices that support station type API

In IBSS, the mac80211 sets the cab_queue to be invalid.

However, the multicast station uses it, so we need to override it.

A previous patch did it, but it was nested inside the if's and was
applied only for legacy FWs that don't support the new station type
API, instead of being applied for all paths.

In addition, add a missing NL80211_IFTYPE_ADHOC to the initialization
of the queues in iwl_mvm_mac_ctxt_init()

Fixes: ee48b72211f8 ("iwlwifi: mvm: support ibss in dqa mode")
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c
drivers/net/wireless/intel/iwlwifi/mvm/sta.c