We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8c7aae commit 5204267Copy full SHA for 5204267
net/mac80211/cfg.c
@@ -533,16 +533,16 @@ static void ieee80211_get_et_stats(struct wiphy *wiphy,
533
sinfo.filled = 0;
534
sta_set_sinfo(sta, &sinfo);
535
536
- if (sinfo.filled | STATION_INFO_TX_BITRATE)
+ if (sinfo.filled & STATION_INFO_TX_BITRATE)
537
data[i] = 100000 *
538
cfg80211_calculate_bitrate(&sinfo.txrate);
539
i++;
540
- if (sinfo.filled | STATION_INFO_RX_BITRATE)
+ if (sinfo.filled & STATION_INFO_RX_BITRATE)
541
542
cfg80211_calculate_bitrate(&sinfo.rxrate);
543
544
545
- if (sinfo.filled | STATION_INFO_SIGNAL_AVG)
+ if (sinfo.filled & STATION_INFO_SIGNAL_AVG)
546
data[i] = (u8)sinfo.signal_avg;
547
548
} else {
0 commit comments