Search Linux Wireless

[patch] fix the definition of AR9170_PHY_REG_CURRENT_RSSI

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

 



Hi Christian,

Although it currently isn't used anywhere, I thought it'd be
worthwhile fixing the definition of AR9170_PHY_REG_CURRENT_RSSI.
It's at AR_PHY(271) rather than AR_PHY(263).

The carl9170 driver may also suffer the same problem. The older
version I have lying around here doesn't seem to use
AR9170_PHY_REG_CURRENT_RSSI anywhere but it is defined.

Thanks,


Adrian

diff --git a/include/shared/phy.h b/include/shared/phy.h
index 024fb42..08b56eb 100644
--- a/include/shared/phy.h
+++ b/include/shared/phy.h
@@ -387,7 +387,7 @@
 #define        AR9170_PHY_REG_CAL_MEAS_3(_i)           (AR9170_PHY_REG_BASE + \
                                                 0x041c + ((_i) << 12))

-#define        AR9170_PHY_REG_CURRENT_RSSI
(AR9170_PHY_REG_BASE + 0x041c)
+#define        AR9170_PHY_REG_CURRENT_RSSI
(AR9170_PHY_REG_BASE + 0x043c)

 #define        AR9170_PHY_REG_RFBUS_GRANT
(AR9170_PHY_REG_BASE + 0x0420)
 #define                AR9170_PHY_RFBUS_GRANT_EN               0x00000001
--
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 Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux