This is a note to let you know that I've just added the patch titled

    iwlwifi: mvm: don't WARN when statistics are handled late

to the 3.13-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     iwlwifi-mvm-don-t-warn-when-statistics-are-handled-late.patch
and it can be found in the queue-3.13 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.


>From 1e9291996c4eedf79883f47ec635235e39d3d6cd Mon Sep 17 00:00:00 2001
From: Emmanuel Grumbach <emmanuel.grumb...@intel.com>
Date: Tue, 4 Mar 2014 10:28:23 +0200
Subject: iwlwifi: mvm: don't WARN when statistics are handled late

From: Emmanuel Grumbach <emmanuel.grumb...@intel.com>

commit 1e9291996c4eedf79883f47ec635235e39d3d6cd upstream.

Since the statistics handler is asynchrous, it can very well
be that we will handle the statistics (hence the RSSI
fluctuation) when we already disassociated.
Don't WARN on this case.

This solves: https://bugzilla.redhat.com/show_bug.cgi?id=1071998

Fixes: 2b76ef13086f ("iwlwifi: mvm: implement reduced Tx power")
Reviewed-by: Johannes Berg <johannes.b...@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumb...@intel.com>
Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>

---
 drivers/net/wireless/iwlwifi/mvm/bt-coex.c |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

--- a/drivers/net/wireless/iwlwifi/mvm/bt-coex.c
+++ b/drivers/net/wireless/iwlwifi/mvm/bt-coex.c
@@ -871,8 +871,11 @@ void iwl_mvm_bt_rssi_event(struct iwl_mv
 
        lockdep_assert_held(&mvm->mutex);
 
-       /* Rssi update while not associated ?! */
-       if (WARN_ON_ONCE(mvmvif->ap_sta_id == IWL_MVM_STATION_COUNT))
+       /*
+        * Rssi update while not associated - can happen since the statistics
+        * are handled asynchronously
+        */
+       if (mvmvif->ap_sta_id == IWL_MVM_STATION_COUNT)
                return;
 
        /* No BT - reports should be disabled */


Patches currently in stable-queue which might be from 
emmanuel.grumb...@intel.com are

queue-3.13/mac80211-clear-sequence-fragment-number-in-qos-null-frames.patch
queue-3.13/iwlwifi-mvm-change-of-listen-interval-from-70-to-10.patch
queue-3.13/iwlwifi-disable-tx-ampdu-by-default-for-iwldvm.patch
queue-3.13/iwlwifi-dvm-clear-iwl_sta_ucode_inprogress-when-assoc-fails.patch
queue-3.13/iwlwifi-fix-tx-status-for-aggregated-packets.patch
queue-3.13/iwlwifi-mvm-don-t-warn-when-statistics-are-handled-late.patch
queue-3.13/mac80211-fix-ap-powersave-tx-vs.-wakeup-race.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to