]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/wireless/iwlwifi/mvm/fw.c
iwlwifi: mvm: clarify stop_count, remove transport_stopped
[karo-tx-linux.git] / drivers / net / wireless / iwlwifi / mvm / fw.c
index c958a7d0458d4e3be6597b06fa53dbba8abdd63c..21d606028ca6a534528186e7c77103b7b7073b5d 100644 (file)
@@ -244,10 +244,10 @@ static int iwl_mvm_load_ucode_wait_alive(struct iwl_mvm *mvm,
                        mvm->queue_to_mac80211[i] = i;
                else
                        mvm->queue_to_mac80211[i] = IWL_INVALID_MAC80211_QUEUE;
-               atomic_set(&mvm->queue_stop_count[i], 0);
        }
 
-       mvm->transport_queue_stop = 0;
+       for (i = 0; i < IEEE80211_MAX_QUEUES; i++)
+               atomic_set(&mvm->mac80211_queue_stop_count[i], 0);
 
        mvm->ucode_loaded = true;