diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-12-29 13:01:31 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-01-17 14:50:15 +0100 |
commit | 9cf67ec7fd8077fdf7909449534e32b8438b5edc (patch) | |
tree | 90dec581f0fafe17275f8993cbacfc1c39dc1e7e /drivers/net/wireless/mediatek/mt76/mt76.h | |
parent | 02e5a769c0a48e4e145b765329bc9d22a70261e7 (diff) | |
download | lwn-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.h | 2 |
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]; }; |