driver_test: Fix AP mode to initialize bss_ctx for first interface

This commit is contained in:
Jouni Malinen 2009-12-16 16:01:54 +02:00 committed by Jouni Malinen
parent c302f20740
commit 67f0112d83

View file

@ -1143,6 +1143,7 @@ static void * test_driver_init(struct hostapd_data *hapd,
}
drv->ctx = hapd;
drv->bss->bss_ctx = hapd;
/* Generate a MAC address to help testing with multiple APs */
params->own_addr[0] = 0x02; /* locally administered */