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

    iwlagn: send tx power command if defer cause by RXON not

to the 2.6.39-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:
     iwlagn-send-tx-power-command-if-defer-cause-by-rxon-not.patch
and it can be found in the queue-2.6.39 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From 43e4e0b94984b45d52048e3ac027cac15c718b65 Mon Sep 17 00:00:00 2001
From: Wey-Yi Guy <[email protected]>
Date: Fri, 27 May 2011 08:40:24 -0700
Subject: iwlagn: send tx power command if defer cause by RXON not
 match

From: Wey-Yi Guy <[email protected]>

commit 43e4e0b94984b45d52048e3ac027cac15c718b65 upstream.

During channge channel, tx power will not send to uCode, the tx power command
should send after scan complete. but should also can send after RXON command.

Stable fix identified by Stanislaw Gruszka <[email protected]>.

Signed-off-by: Wey-Yi Guy <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/net/wireless/iwlwifi/iwl-agn-rxon.c |    5 +++++
 1 file changed, 5 insertions(+)

--- a/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
@@ -218,6 +218,11 @@ int iwlagn_commit_rxon(struct iwl_priv *
 
                memcpy(active, &ctx->staging, sizeof(*active));
                iwl_print_rx_config_cmd(priv, ctx);
+               /*
+                * We do not commit tx power settings while channel changing,
+                * do it now if after settings changed.
+                */
+               iwl_set_tx_power(priv, priv->tx_power_next, false);
                return 0;
        }
 


Patches currently in stable-queue which might be from [email protected] are

queue-2.6.39/iwlagn-use-cts-to-self-protection-on-5000-adapters-series.patch
queue-2.6.39/iwlagn-fix-channel-switch-locking.patch
queue-2.6.39/iwlagn-send-tx-power-command-if-defer-cause-by-rxon-not.patch

_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable

Reply via email to