]> git.ipfire.org Git - thirdparty/hostap.git/commit
Update own report in nr_db if SSID is changed
authorNikita Chernikov <ncherikov@maxlinear.com>
Thu, 1 Feb 2024 16:05:02 +0000 (18:05 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 3 Mar 2024 19:33:46 +0000 (21:33 +0200)
commit6f285fbafcd1a49a5d24ea5c0dcb26663545e9d7
tree84b22e3c79166a83fa9fbdabd32e810829881a8f
parentb653420a239baac023cc4242ff18179ba73b771c
Update own report in nr_db if SSID is changed

short_ssid in the own neighbor report might get out of sync, causing
advertising RNR element based on the old SSID, when SSID is changed
either with control interface command SET or with SIGHUP. Therefore,
sync the own report entry by removing the old entry and setting own
report again if the short SSID value has changed.

Signed-off-by: Nikita Chernikov <nchernikov@maxlinear.com>
hostapd/ctrl_iface.c
src/ap/hostapd.c
src/ap/neighbor_db.c
src/ap/neighbor_db.h