aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2800lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800lib.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2800lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c
index 10aefc4fb0cc..5f00e00789d8 100644
--- a/drivers/net/wireless/rt2x00/rt2800lib.c
+++ b/drivers/net/wireless/rt2x00/rt2800lib.c
@@ -499,7 +499,7 @@ void rt2800_write_tx_data(struct queue_entry *entry,
499} 499}
500EXPORT_SYMBOL_GPL(rt2800_write_tx_data); 500EXPORT_SYMBOL_GPL(rt2800_write_tx_data);
501 501
502static int rt2800_agc_to_rssi(struct rt2x00_dev *rt2x00dev, int rxwi_w2) 502static int rt2800_agc_to_rssi(struct rt2x00_dev *rt2x00dev, u32 rxwi_w2)
503{ 503{
504 int rssi0 = rt2x00_get_field32(rxwi_w2, RXWI_W2_RSSI0); 504 int rssi0 = rt2x00_get_field32(rxwi_w2, RXWI_W2_RSSI0);
505 int rssi1 = rt2x00_get_field32(rxwi_w2, RXWI_W2_RSSI1); 505 int rssi1 = rt2x00_get_field32(rxwi_w2, RXWI_W2_RSSI1);