From: Bing Zhao Date: Thu, 5 Feb 2009 06:22:39 +0000 (-0800) Subject: libertas: fix power save issue in libertas_sdio module X-Git-Tag: v2.6.30-rc1~662^2~460^2~132 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5ac2b9eb58f5efad83f2d0e7fa464e8980ecfc9;p=pandora-kernel.git libertas: fix power save issue in libertas_sdio module The problem: "iwconfig ethX power on" returns error The cause: "ps_supported" flag was never set for SD8385/8686 The fix: check firmware capabilities returned by GET_HW_SPEC command. Set "ps_supported" to 1 if FW_CAPINFO_PS bit is on. This fix applies to SDIO interface only. Signed-off-by: Bing Zhao Acked-by: Dan Williams Signed-off-by: John W. Linville --- Reading git-diff-tree failed