mirror of git://git.sysmocom.de/ofono
qmimodem: add strength (in %) to the debug output
This commit is contained in:
parent
0b10110a87
commit
8d74986d6e
|
@ -450,10 +450,11 @@ static void event_notify(struct qmi_result *result, void *user_data)
|
|||
if (ss) {
|
||||
int strength;
|
||||
|
||||
DBG("signal with %d dBm on %d", ss->dbm, ss->rat);
|
||||
|
||||
strength = dbm_to_strength(ss->dbm);
|
||||
|
||||
DBG("signal with %d%%(%d dBm) on %d",
|
||||
strength, ss->dbm, ss->rat);
|
||||
|
||||
ofono_netreg_strength_notify(netreg, strength);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue