From: Stanislaw Gruszka Date: Fri, 28 Jan 2011 15:47:44 +0000 (+0100) Subject: iwlwifi: do not set tx power when channel is changing X-Git-Tag: v2.6.39-rc1~468^2~417^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f844a709a7d8f8be61a571afc31dfaca9e779621;p=pandora-kernel.git iwlwifi: do not set tx power when channel is changing Mac80211 can request for tx power and channel change in one ->config call. If that happens, *_send_tx_power functions will try to setup tx power for old channel, what can be not correct because we already change the band. I.e error "Failed to get channel info for channel 140 [0]", can be printed frequently when operating in software scanning mode. Signed-off-by: Stanislaw Gruszka Acked-by: Wey-Yi Guy Signed-off-by: John W. Linville --- Reading git-diff-tree failed