[PW_SID:1163522] netdev: initialize RSSI polling station info - #516
IWDTestBot wants to merge 1 commit into
Conversation
netdev_rssi_poll_cb() uses netdev_parse_sta_info() and then checks have_cur_rssi. If NL80211_STA_INFO_SIGNAL is not present in the response, the parser leaves this field untouched. Initialize the diagnostic station info before parsing, matching netdev_get_station_cb(). Fixes: 08de818 ("netdev: update RSSI polling to use station info parser")
|
Fetch PR Prep - Setup ELL Make Distcheck Build - Configure Make Check Make Check w/Valgrind Incremental Build with patches |
|
Fetch PR GitLint Prep - Setup ELL Make Distcheck Build - Configure Make Check Make Check w/Valgrind Incremental Build with patches Autotest Runner Clang Build |
netdev_rssi_poll_cb() uses netdev_parse_sta_info() and then checks
have_cur_rssi. If NL80211_STA_INFO_SIGNAL is not present in the
response, the parser leaves this field untouched.
Initialize the diagnostic station info before parsing, matching
netdev_get_station_cb().
Fixes: 08de818 ("netdev: update RSSI polling to use station info parser")
src/netdev.c | 2 ++
1 file changed, 2 insertions(+)