iwl4965: set tx power after rxon_assoc
commitc0ada91b9e3d46f7584f5a5392baecd5b3add5a8
authorStanislaw Gruszka <sgruszka@redhat.com>
Mon, 6 Jun 2011 13:11:30 +0000 (6 15:11 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Jun 2011 22:05:40 +0000 (23 15:05 -0700)
tree6d40bb0f9260484ac7d5f65bebcef1f8c7c3095e
parentcb7520a5acacfdc38c56cbb568e177086c9901d1
iwl4965: set tx power after rxon_assoc

commit 51892dbbd511911c0f965a36b431fc3e8f1e4f8a upstream.

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

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/iwlegacy/iwl-4965.c