diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-07-19 11:30:10 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-21 19:11:57 (GMT) |
commit | ebf9b312389a01763ae7388ff3e8f37e82261a92 (patch) | |
tree | 6dfd780a34ce04762c1bda64ef9369a476043ea8 /drivers/staging/vt6656/main_usb.c | |
parent | 09440e546433cce913d8253b78c84d631fe33a47 (diff) | |
download | linux-ebf9b312389a01763ae7388ff3e8f37e82261a92.tar.xz |
staging: vt6656: remame abyCurrentNetAddr to current_net_addr
Removing prefix and camel case
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/main_usb.c')
-rw-r--r-- | drivers/staging/vt6656/main_usb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index c8b4914..e8e4de5 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -165,7 +165,7 @@ static int device_init_registers(struct vnt_private *priv) init_cmd->init_class = DEVICE_INIT_COLD; init_cmd->exist_sw_net_addr = (u8) priv->bExistSWNetAddr; for (ii = 0; ii < 6; ii++) - init_cmd->sw_net_addr[ii] = priv->abyCurrentNetAddr[ii]; + init_cmd->sw_net_addr[ii] = priv->current_net_addr[ii]; init_cmd->short_retry_limit = priv->byShortRetryLimit; init_cmd->long_retry_limit = priv->byLongRetryLimit; @@ -335,12 +335,12 @@ static int device_init_registers(struct vnt_private *priv) /* get permanent network address */ memcpy(priv->abyPermanentNetAddr, init_rsp->net_addr, 6); - memcpy(priv->abyCurrentNetAddr, + memcpy(priv->current_net_addr, priv->abyPermanentNetAddr, ETH_ALEN); /* if exist SW network address, use it */ dev_dbg(&priv->usb->dev, "Network address = %pM\n", - priv->abyCurrentNetAddr); + priv->current_net_addr); /* * set BB and packet type at the same time |