Lines Matching refs:rcfg
4391 struct rfkill_config *rcfg;
4429 rcfg = os_zalloc(sizeof(*rcfg));
4430 if (rcfg == NULL)
4432 rcfg->ctx = drv;
4433 os_strlcpy(rcfg->ifname, ifname, sizeof(rcfg->ifname));
4434 rcfg->blocked_cb = wpa_driver_nl80211_rfkill_blocked;
4435 rcfg->unblocked_cb = wpa_driver_nl80211_rfkill_unblocked;
4436 drv->rfkill = rfkill_init(rcfg);
4439 os_free(rcfg);