File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
package/network/services/hostapd/src/src/ap Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 1010#include "dfs.h"
1111#include "acs.h"
1212#include "ieee802_11_auth.h"
13+ #include "neighbor_db.h"
1314#include <libubox/uloop.h>
1415
1516static uc_resource_type_t * global_type , * bss_type , * iface_type ;
@@ -262,6 +263,7 @@ uc_hostapd_bss_set_config(uc_vm_t *vm, size_t nargs)
262263 memcpy (hapd -> own_addr , hapd -> conf -> bssid , ETH_ALEN );
263264
264265 hostapd_setup_bss (hapd , hapd == iface -> bss [0 ], true);
266+ hostapd_neighbor_set_own_report (hapd );
265267 hostapd_ucode_update_interfaces ();
266268 hostapd_owe_update_trans (iface );
267269
@@ -387,6 +389,7 @@ uc_hostapd_iface_add_bss(uc_vm_t *vm, size_t nargs)
387389 iface -> conf -> bss [iface -> conf -> num_bss ] = bss ;
388390 conf -> bss [idx ] = NULL ;
389391 ret = hostapd_ucode_bss_get_uval (hapd );
392+ hostapd_neighbor_set_own_report (hapd );
390393 hostapd_ucode_update_interfaces ();
391394 hostapd_owe_update_trans (iface );
392395 goto out ;
You can’t perform that action at this time.
0 commit comments