From: Stanislaw Gruszka Date: Fri, 22 Oct 2010 15:04:26 +0000 (+0200) Subject: iwlwifi: fix set_tx_power vs scan X-Git-Tag: v2.6.38-rc1~476^2~558^2~119 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a25a66ac94db88190653d5725c563e3f8faeee61;p=pandora-kernel.git iwlwifi: fix set_tx_power vs scan According to comment in iwl_bg_scan_completed, setting tx power should be deferred during pending scan, but we are not doing this. This patch change code to really defer setting tx power after scan complete. Additionally refactor iwl_set_tx_power code and call lib->send_tx_power() directly from iwlagn_commit_rxon. Signed-off-by: Stanislaw Gruszka Acked-by: Wey-Yi Guy Signed-off-by: John W. Linville --- Reading git-diff-tree failed