mt76: fix signedness of rx status signal field
authorFelix Fietkau <nbd@nbd.name>
Sat, 29 Dec 2018 12:01:31 +0000 (13:01 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 17 Jan 2019 13:50:15 +0000 (14:50 +0100)
It is usually negative, so it needs to be signed.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76.h

index 2267163..0435d62 100644 (file)
@@ -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];
 };