From: Jouni Malinen Date: Tue, 19 May 2009 14:01:39 +0000 (+0300) Subject: ath9k: Do not try to calibrate radio when in sleep mode X-Git-Tag: v2.6.31-rc1~330^2~313^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ffc1c61bdbe31105d99d65043bbf7ae6d24dbc7;p=pandora-kernel.git ath9k: Do not try to calibrate radio when in sleep mode When the chip is in sleep mode, there is no point trying to calibrate the radio since it will just results in incorrect values being read from registers and other potential issues. In addition, if we actually start processing calibrate, do not allow the chip to be put into sleep until we have completed the calibration step. Signed-off-by: Jouni Malinen Signed-off-by: John W. Linville --- Reading git-diff-tree failed