summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mediatek/mt76/mt76.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-12-29 13:01:31 +0100
committerFelix Fietkau <nbd@nbd.name>2019-01-17 14:50:15 +0100
commit9cf67ec7fd8077fdf7909449534e32b8438b5edc (patch)
tree90dec581f0fafe17275f8993cbacfc1c39dc1e7e /drivers/net/wireless/mediatek/mt76/mt76.h
parent02e5a769c0a48e4e145b765329bc9d22a70261e7 (diff)
downloadlwn-9cf67ec7fd8077fdf7909449534e32b8438b5edc.tar.gz
lwn-9cf67ec7fd8077fdf7909449534e32b8438b5edc.zip
mt76: fix signedness of rx status signal field
It is usually negative, so it needs to be signed. Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76.h')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt76.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76.h b/drivers/net/wireless/mediatek/mt76/mt76.h
index 2267163d2445..0435d623e9ad 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76.h
+++ b/drivers/net/wireless/mediatek/mt76/mt76.h
@@ -497,7 +497,7 @@ struct mt76_rx_status {
u8 rate_idx;
u8 nss;
u8 band;
- u8 signal;
+ s8 signal;
u8 chains;
s8 chain_signal[IEEE80211_MAX_CHAINS];
};