dBm signal strength is signed; report it as such in the RSSI column.
Change-Id: Ifc0516f0229a7bedd953e9a81beb300df1c4208c Reviewed-on: https://code.wireshark.org/review/13113 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
7423a91e81
commit
94f499bb11
|
@ -270,7 +270,7 @@ dissect_wlan_radio (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void
|
|||
}
|
||||
|
||||
if (phdr->has_signal_dbm) {
|
||||
col_add_fstr(pinfo->cinfo, COL_RSSI, "%u dBm", phdr->signal_dbm);
|
||||
col_add_fstr(pinfo->cinfo, COL_RSSI, "%d dBm", phdr->signal_dbm);
|
||||
} else if (phdr->has_signal_percent) {
|
||||
col_add_fstr(pinfo->cinfo, COL_RSSI, "%u%%", phdr->signal_percent);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue