From: Mohammed Shafi Shajakhan Date: Tue, 4 Sep 2012 14:03:32 +0000 (+0530) Subject: ath9k_hw: Fix invalid MCI GPM index access/caching X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~163^2^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90be994cd0d70fbe4a97b144806db6cfa497392c;p=pandora-kernel.git ath9k_hw: Fix invalid MCI GPM index access/caching There is a possibility that AR_MCI_GPM_1 register can return 0xdeadbeef and this results in caching of invalid GPM index in ar9003_mci_is_gpm_valid. Ensure we have appropriate checks to avoid this. Cc: xijin luo Signed-off-by: Mohammed Shafi Shajakhan Signed-off-by: John W. Linville --- Reading git-diff-tree failed