iwlwifi: mvm: disable RX queue notification for a000 devices
authorSara Sharon <sara.sharon@intel.com>
Mon, 13 Feb 2017 11:17:11 +0000 (13:17 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 19 Apr 2017 19:21:48 +0000 (22:21 +0300)
For a000 devices, we don't really have multi RX queue for now,
until we have the RX queue configuration API.
Disable RX queue notification for now.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c

index 26cf3dfcc108ee2f503707b8b35d9b510a4bc896..f35f295d0c819ab4d62f805cf8fadf83fce04be5 100644 (file)
@@ -4218,7 +4218,8 @@ void iwl_mvm_sync_rx_queues_internal(struct iwl_mvm *mvm,
 
        lockdep_assert_held(&mvm->mutex);
 
-       if (!iwl_mvm_has_new_rx_api(mvm))
+       /* TODO - remove a000 disablement when we have RXQ config API */
+       if (!iwl_mvm_has_new_rx_api(mvm) || iwl_mvm_has_new_tx_api(mvm))
                return;
 
        notif->cookie = mvm->queue_sync_cookie;