Home
last modified time | relevance | path

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

/openbmc/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()
/openbmc/linux/drivers/staging/rtl8723bs/core/
H A Drtw_ioctl_set.c293 enum ndis_802_11_network_infrastructure *pold_state = &(cur_network->network.infrastructure_mode); in rtw_set_802_11_infrastructure_mode() local
295 if (*pold_state != networktype) { in rtw_set_802_11_infrastructure_mode()
296 if (*pold_state == Ndis802_11APMode) { in rtw_set_802_11_infrastructure_mode()
305 if ((check_fwstate(pmlmepriv, _FW_LINKED) == true) || (*pold_state == Ndis802_11IBSS)) in rtw_set_802_11_infrastructure_mode()
312 if ((*pold_state == Ndis802_11Infrastructure) || (*pold_state == Ndis802_11IBSS)) { in rtw_set_802_11_infrastructure_mode()
317 *pold_state = networktype; in rtw_set_802_11_infrastructure_mode()