diff options
author | John W. Linville <linville@tuxdriver.com> | 2009-11-13 13:12:59 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-25 15:20:50 -0500 |
commit | 04658fba2314d6d70d5fa05c0b5995e6428aacc3 (patch) | |
tree | 3bbaa52670cf52f18acd8850ff5a328bf990182d /drivers/net/wireless/ath/ath9k/hw.h | |
parent | efe117ab8114f47f317b4803e5bc0104420bcba2 (diff) |
ath9k: remove warnings related to signed/unsigned type mismatch
CC [M] drivers/net/wireless/ath/ath9k/recv.o
drivers/net/wireless/ath/ath9k/recv.c: In function `ath_rx_prepare':
drivers/net/wireless/ath/ath9k/recv.c:208: warning: comparison is always true due to limited range of data type
drivers/net/wireless/ath/ath9k/recv.c:220: warning: comparison is always false due to limited range of data type
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index f8f5e997162..a22ed766b6a 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h @@ -60,7 +60,7 @@ #define ATH_DEFAULT_NOISE_FLOOR -95 -#define ATH9K_RSSI_BAD 0x80 +#define ATH9K_RSSI_BAD -128 /* Register read/write primitives */ #define REG_WRITE(_ah, _reg, _val) \ |