CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2022/12/18 11:56:39

Modified files:
        sbin/ifconfig  : ifconfig.c 

Log message:
Unify RSSI check

Two spots in ifconfig print the signal strength, one for the "ieee80211: "
line and one for each SSID in scan output.

Only the former checks nr_rssi, which is not needed as nr_max_rssi alone
indicates whether the driver reports signal strength in percentage or dBm.

Zap the nr_rssi check to simplify;  "worst case" we display 0% or 0dBm
instead of nothing.

Feedback OK stsp

Reply via email to