Home | History | Annotate | Download | only in hostapd

Lines Matching refs:drv_priv

40 	void **drv_priv;
233 if (global.drv_priv[i] == NULL &&
235 global.drv_priv[i] = wpa_drivers[i]->global_init();
236 if (global.drv_priv[i] == NULL) {
244 params.global_priv = global.drv_priv[i];
266 hapd->drv_priv = hapd->driver->hapd_init(hapd, &params);
268 if (hapd->drv_priv == NULL) {
276 hapd->driver->get_capa(hapd->drv_priv, &capa) == 0) {
406 global.drv_priv = os_calloc(global.drv_count, sizeof(void *));
407 if (global.drv_priv == NULL)
418 for (i = 0; wpa_drivers[i] && global.drv_priv; i++) {
419 if (!global.drv_priv[i])
421 wpa_drivers[i]->global_deinit(global.drv_priv[i]);
423 os_free(global.drv_priv);
424 global.drv_priv = NULL;