ifconfig(8): display 802.11n rates correctly for 'roam:rate' parameter
MFC after: 5 days
This commit is contained in:
parent
dc4502cae7
commit
c757937316
@ -5080,7 +5080,9 @@ ieee80211_status(int s)
|
||||
LINE_CHECK("roam:rssi %u.5", rp->rssi/2);
|
||||
else
|
||||
LINE_CHECK("roam:rssi %u", rp->rssi/2);
|
||||
LINE_CHECK("roam:rate %u", rp->rate/2);
|
||||
LINE_CHECK("roam:rate %s%u",
|
||||
(rp->rate & IEEE80211_RATE_MCS) ? "MCS " : "",
|
||||
get_rate_value(rp->rate));
|
||||
} else {
|
||||
LINE_BREAK();
|
||||
list_roam(s);
|
||||
|
Loading…
Reference in New Issue
Block a user