iwl4965: set tx power after rxon_assoc
authorStanislaw Gruszka <sgruszka@redhat.com>
Mon, 6 Jun 2011 13:11:30 +0000 (15:11 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Jun 2011 19:24:18 +0000 (15:24 -0400)
commit51892dbbd511911c0f965a36b431fc3e8f1e4f8a
tree9af2911a9dd5b7cc30b8a72043ec90b37e261aa7
parent3bb42a64960253353278876ca8da6b0a7d3bea87
iwl4965: set tx power after rxon_assoc

Setting tx power can be deferred during scan or changing channel.
If after that correct tx power settings will not be sent to device,
we can observe transmission problems and timeouts. Force to send
tx power settings also after partial rxon change, to assure device
always be configured with up-to-date settings.

Resolves:
https://bugzilla.kernel.org/show_bug.cgi?id=36492

Cc: stable@kernel.org # 2.6.39+
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/iwl-4965.c