On Mon, Nov 2, 2020 at 11:55 PM Andrei Otcheretianski <andrei.otcheretianski@xxxxxxxxx> wrote: > From: Avraham Stern <avraham.stern@xxxxxxxxx> > > When the driver sends a CQM RSSI threshold event, wpa_supplicant > queries the driver for the signal and noise values. However, it > is possible that by that time the station has already disconnected > from the AP, so these values are no longer valid. In this case, > indicate that these values are invalid by setting them to > WPA_INVALID_NOISE. > Previously a value of 0 would be reported, which may be confusing as > this is a valid value. > Since nl80211_get_link_signal() and nl80211_get_link_noise() already > set invalid values for a case of failure, just use the value set by > these functions even if they fail. > > Signed-off-by: Avraham Stern <avraham.stern@xxxxxxxxx> > Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@xxxxxxxxx> Thanks! Reviewed-by: Brian Norris <briannorris@xxxxxxxxxxxx> _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap