From: Luis R. Rodriguez Date: Mon, 30 Aug 2010 23:26:33 +0000 (-0400) Subject: ath9k_hw: fix parsing of HT40 5 GHz CTLs X-Git-Tag: v2.6.27.54~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d14a2c2005c205bcd6742cac79dacd69436603b6;p=pandora-kernel.git ath9k_hw: fix parsing of HT40 5 GHz CTLs commit 904879748d7439a6dabdc6be9aad983e216b027d upstream. The 5 GHz CTL indexes were not being read for all hardware devices due to the masking out through the CTL_MODE_M mask being one bit too short. Without this the calibrated regulatory maximum values were not being picked up when devices operate on 5 GHz in HT40 mode. The final output power used for Atheros devices is the minimum between the calibrated CTL values and what CRDA provides. Signed-off-by: Luis R. Rodriguez Signed-off-by: John W. Linville Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed