Skip to content

Commit 54b21b6

Browse files
krish2718kartben
authored andcommitted
Revert "hostap: Add currnet PHY rate to status"
This reverts commit ec0b9cc. This commit has two issues: 1. We already query signal poll just above, so, wastes time querying the infor from the firmware. 2. Doesn't handle modes, i.e., queries even for AP mode as well. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent 2c27671 commit 54b21b6

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

modules/hostap/src/supp_api.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1567,15 +1567,6 @@ int supplicant_status(const struct device *dev, struct wifi_iface_status *status
15671567
}
15681568

15691569
os_free(conn_info);
1570-
1571-
ret = wpa_drv_signal_poll(wpa_s, si);
1572-
if (!ret) {
1573-
status->current_phy_rate = si->current_txrate;
1574-
} else {
1575-
wpa_printf(MSG_WARNING, "%s: Failed to get signal info\n", __func__);
1576-
status->current_phy_rate = 0;
1577-
ret = 0;
1578-
}
15791570
} else {
15801571
ret = 0;
15811572
}

0 commit comments

Comments
 (0)