Searched refs:mode_switch_res (Results 1 – 1 of 1) sorted by relevance
4872 int mode_switch_res; in wpa_driver_nl80211_set_mode_impl() local4874 mode_switch_res = nl80211_set_mode(drv, drv->ifindex, nlmode); in wpa_driver_nl80211_set_mode_impl()4875 if (mode_switch_res && nlmode == nl80211_get_ifmode(bss)) in wpa_driver_nl80211_set_mode_impl()4876 mode_switch_res = 0; in wpa_driver_nl80211_set_mode_impl()4878 if (mode_switch_res == 0) { in wpa_driver_nl80211_set_mode_impl()4884 if (mode_switch_res == -ENODEV) in wpa_driver_nl80211_set_mode_impl()4924 mode_switch_res = nl80211_set_mode(drv, drv->ifindex, nlmode); in wpa_driver_nl80211_set_mode_impl()4925 if (mode_switch_res == -EBUSY) { in wpa_driver_nl80211_set_mode_impl()4931 ret = mode_switch_res; in wpa_driver_nl80211_set_mode_impl()