Home
last modified time | relevance | path

Searched refs:pold_state (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/staging/rtl8723bs/core/
H A Drtw_ioctl_set.c292 enum ndis_802_11_network_infrastructure *pold_state = &(cur_network->network.infrastructure_mode); in rtw_set_802_11_infrastructure_mode() local
294 if (*pold_state != networktype) { in rtw_set_802_11_infrastructure_mode()
295 if (*pold_state == Ndis802_11APMode) { in rtw_set_802_11_infrastructure_mode()
304 if ((check_fwstate(pmlmepriv, _FW_LINKED) == true) || (*pold_state == Ndis802_11IBSS)) in rtw_set_802_11_infrastructure_mode()
311 if ((*pold_state == Ndis802_11Infrastructure) || (*pold_state == Ndis802_11IBSS)) { in rtw_set_802_11_infrastructure_mode()
316 *pold_state = networktype; in rtw_set_802_11_infrastructure_mode()
/linux/drivers/staging/rtl8712/
H A Drtl871x_ioctl_set.c230 enum NDIS_802_11_NETWORK_INFRASTRUCTURE *pold_state = in r8712_set_802_11_infrastructure_mode() local
233 if (*pold_state != networktype) { in r8712_set_802_11_infrastructure_mode()
236 (*pold_state == Ndis802_11IBSS)) in r8712_set_802_11_infrastructure_mode()
242 (*pold_state == Ndis802_11Infrastructure) || in r8712_set_802_11_infrastructure_mode()
243 (*pold_state == Ndis802_11IBSS)) { in r8712_set_802_11_infrastructure_mode()
250 *pold_state = networktype; in r8712_set_802_11_infrastructure_mode()