Lines Matching defs:drv_priv
310 * and hapd->drv_priv is not valid anymore.
312 hapd->drv_priv = NULL;
420 if (hapd->drv_priv && !hapd->iface->driver_ap_teardown) {
468 if (hostapd_drv_none(hapd) || hapd->drv_priv == NULL)
937 &hapd->drv_priv, force_ifname, if_addr,
1132 hapd->driver->set_operstate(hapd->drv_priv, 1);
1315 iface->bss[i]->drv_priv = hapd->drv_priv;
2132 void *drv_priv;
2141 drv_priv = iface->bss[0]->drv_priv;
2143 wpa_printf(MSG_DEBUG, "%s: driver=%p drv_priv=%p -> hapd_deinit",
2144 __func__, driver, drv_priv);
2145 if (driver && driver->hapd_deinit && drv_priv) {
2146 driver->hapd_deinit(drv_priv);
2147 iface->bss[0]->drv_priv = NULL;
2154 void *drv_priv,
2159 wpa_printf(MSG_DEBUG, "%s: driver=%p drv_priv=%p -> hapd_deinit",
2160 __func__, driver, drv_priv);
2161 if (driver && driver->hapd_deinit && drv_priv) {
2162 driver->hapd_deinit(drv_priv);
2164 wpa_printf(MSG_DEBUG, "%s:bss[%d]->drv_priv=%p",
2166 hapd_iface->bss[j]->drv_priv);
2167 if (hapd_iface->bss[j]->drv_priv == drv_priv)
2168 hapd_iface->bss[j]->drv_priv = NULL;
2178 if (hapd_iface->bss[0]->drv_priv != NULL) {
2201 hapd_iface->bss[0]->drv_priv,
2234 void *drv_priv;
2239 if (hapd_iface->bss[0]->drv_priv == NULL) {
2247 drv_priv = hapd_iface->bss[0]->drv_priv;
2260 hostapd_deinit_driver(driver, drv_priv, hapd_iface);
2436 hapd_iface->bss[0]->drv_priv,
2444 hapd->drv_priv = hapd_iface->bss[0]->drv_priv;