Searched refs:rereg_priv (Results 1 – 2 of 2) sorted by relevance
274 struct rereg_nd_name_data *rereg_priv; in rtw_change_ifname() local281 rereg_priv = &padapter->rereg_nd_name_priv; in rtw_change_ifname()284 if (rereg_priv->old_pnetdev) { in rtw_change_ifname()285 free_netdev(rereg_priv->old_pnetdev); in rtw_change_ifname()286 rereg_priv->old_pnetdev = NULL; in rtw_change_ifname()294 rereg_priv->old_pnetdev =cur_pnetdev; in rtw_change_ifname()
2642 struct rereg_nd_name_data *rereg_priv = &padapter->rereg_nd_name_priv; in rtw_rereg_nd_name() local2645 if (rereg_priv->old_ifname[0] == 0) { in rtw_rereg_nd_name()2649 strncpy(rereg_priv->old_ifname, reg_ifname, IFNAMSIZ); in rtw_rereg_nd_name()2650 rereg_priv->old_ifname[IFNAMSIZ-1] = 0; in rtw_rereg_nd_name()2660 if (0 == strcmp(rereg_priv->old_ifname, new_ifname)) in rtw_rereg_nd_name()2667 strncpy(rereg_priv->old_ifname, new_ifname, IFNAMSIZ); in rtw_rereg_nd_name()2668 rereg_priv->old_ifname[IFNAMSIZ-1] = 0; in rtw_rereg_nd_name()