struct vnt_cmd_card_init init_command;
struct vnt_rsp_card_init init_response;
u8 current_net_addr[ETH_ALEN];
- u8 abyPermanentNetAddr[ETH_ALEN];
+ u8 permanent_net_addr[ETH_ALEN];
int bExistSWNetAddr;
}
/* get permanent network address */
- memcpy(priv->abyPermanentNetAddr, init_rsp->net_addr, 6);
- memcpy(priv->current_net_addr,
- priv->abyPermanentNetAddr, ETH_ALEN);
+ memcpy(priv->permanent_net_addr, init_rsp->net_addr, 6);
+ memcpy(priv->current_net_addr, priv->permanent_net_addr, ETH_ALEN);
/* if exist SW network address, use it */
dev_dbg(&priv->usb->dev, "Network address = %pM\n",
if (!(device_init_registers(priv)))
return -EAGAIN;
- SET_IEEE80211_PERM_ADDR(priv->hw, priv->abyPermanentNetAddr);
+ SET_IEEE80211_PERM_ADDR(priv->hw, priv->permanent_net_addr);
vnt_init_bands(priv);