Searched refs:rereg_priv (Results 1 – 2 of 2) sorted by relevance
126 struct rereg_nd_name_data *rereg_priv; in rtw_change_ifname() local133 rereg_priv = &padapter->rereg_nd_name_priv; in rtw_change_ifname()136 if (rereg_priv->old_pnetdev) { in rtw_change_ifname()137 free_netdev(rereg_priv->old_pnetdev); in rtw_change_ifname()138 rereg_priv->old_pnetdev = NULL; in rtw_change_ifname()146 rereg_priv->old_pnetdev = cur_pnetdev; in rtw_change_ifname()
2620 struct rereg_nd_name_data *rereg_priv = &padapter->rereg_nd_name_priv; in rtw_rereg_nd_name() local2623 if (rereg_priv->old_ifname[0] == 0) { in rtw_rereg_nd_name()2627 strncpy(rereg_priv->old_ifname, reg_ifname, IFNAMSIZ); in rtw_rereg_nd_name()2628 rereg_priv->old_ifname[IFNAMSIZ-1] = 0; in rtw_rereg_nd_name()2638 if (0 == strcmp(rereg_priv->old_ifname, new_ifname)) in rtw_rereg_nd_name()2645 strncpy(rereg_priv->old_ifname, new_ifname, IFNAMSIZ); in rtw_rereg_nd_name()2646 rereg_priv->old_ifname[IFNAMSIZ-1] = 0; in rtw_rereg_nd_name()