Search Linux Wireless

Re: [ath9k-devel] [RFC 1/1] ath9k_hw: Fix enabling of MCI and RTT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sujith,

On Thursday 08 March 2012 06:10 PM, Sujith Manoharan wrote:
Mohammed Shafi Shajakhan wrote:
+
+	if (AR_SREV_9462(ah)) {
+		ah->ent_mode = REG_READ(ah, AR_ENT_OTP);
+		if (!(ah->ent_mode&  AR_ENT_OTP_49GHZ_DISABLE))
+			pCap->hw_caps |= ATH9K_HW_CAP_MCI;
+	}
+
+	if (AR_SREV_9462_20(ah))
+		pCap->hw_caps |= ATH9K_HW_CAP_RTT;

ah->ent_mode is already being updated earlier in ath9k_hw_fill_cap_info(),
so there is no need to read AR_ENT_OTP again.

did notice the check AR9300_20_LATER :). just thought if we change something and 'ent_mode' holds some other value. anyway will just leave the check.


Sujith


--
thanks,
shafi
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux