driver_test: Fix AP mode to initialize bss_ctx for first interface
This commit is contained in:
parent
c302f20740
commit
67f0112d83
1 changed files with 1 additions and 0 deletions
|
@ -1143,6 +1143,7 @@ static void * test_driver_init(struct hostapd_data *hapd,
|
||||||
}
|
}
|
||||||
|
|
||||||
drv->ctx = hapd;
|
drv->ctx = hapd;
|
||||||
|
drv->bss->bss_ctx = hapd;
|
||||||
|
|
||||||
/* Generate a MAC address to help testing with multiple APs */
|
/* Generate a MAC address to help testing with multiple APs */
|
||||||
params->own_addr[0] = 0x02; /* locally administered */
|
params->own_addr[0] = 0x02; /* locally administered */
|
||||||
|
|
Loading…
Reference in a new issue