Lines Matching defs:rcfg
803 struct rfkill_config *rcfg;
839 rcfg = os_zalloc(sizeof(*rcfg));
840 if (rcfg == NULL)
842 rcfg->ctx = drv;
843 os_strlcpy(rcfg->ifname, ifname, sizeof(rcfg->ifname));
844 rcfg->blocked_cb = wpa_driver_wext_rfkill_blocked;
845 rcfg->unblocked_cb = wpa_driver_wext_rfkill_unblocked;
846 drv->rfkill = rfkill_init(rcfg);
849 os_free(rcfg);