Lines Matching refs:rcfg
3625 struct rfkill_config *rcfg;
3653 rcfg = os_zalloc(sizeof(*rcfg));
3654 if (rcfg == NULL)
3656 rcfg->ctx = drv;
3657 os_strlcpy(rcfg->ifname, ifname, sizeof(rcfg->ifname));
3658 rcfg->blocked_cb = wpa_driver_nl80211_rfkill_blocked;
3659 rcfg->unblocked_cb = wpa_driver_nl80211_rfkill_unblocked;
3660 drv->rfkill = rfkill_init(rcfg);
3663 os_free(rcfg);