1 --- a/src/drivers/driver_nl80211.c
2 +++ b/src/drivers/driver_nl80211.c
3 @@ -4418,10 +4418,10 @@ static void *i802_init(struct hostapd_da
4 /* start listening for EAPOL on the default AP interface */
5 add_ifidx(drv, drv->ifindex);
8 - if (hostapd_set_iface_flags(drv, drv->ifname, 0))
10 + if (hostapd_set_iface_flags(drv, drv->ifname, 0))
13 + if (params->bssid) {
14 if (set_ifhwaddr(drv, drv->ifname, params->bssid))