staging: vt6656: remame abyCurrentNetAddr to current_net_addr
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 19 Jul 2014 11:30:10 +0000 (12:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Jul 2014 19:11:57 +0000 (12:11 -0700)
Removing prefix and camel case

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/device.h
drivers/staging/vt6656/main_usb.c
drivers/staging/vt6656/rxtx.c

index 183d9c9f643032ca1c1e72f6211f853b674f8cf2..928794861d3937a27ed214e52f86000fc5e33b62 100644 (file)
@@ -306,7 +306,7 @@ struct vnt_private {
 
        struct vnt_cmd_card_init init_command;
        struct vnt_rsp_card_init init_response;
-       u8 abyCurrentNetAddr[ETH_ALEN];
+       u8 current_net_addr[ETH_ALEN];
        u8 abyPermanentNetAddr[ETH_ALEN];
 
        int bExistSWNetAddr;
index c8b49140085493d7812ba006423bc93e239c5720..e8e4de5b18ac799c9e6e4ed35b5a207a239f51f5 100644 (file)
@@ -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
index c4b9ca2fcd420c258583add5b61d08fda4a9b0e7..25a87b0b9c73022c54de3450469877862c4eb6e0 100644 (file)
@@ -517,7 +517,7 @@ static u16 vnt_fill_cts_head(struct vnt_usb_send_context *tx_context,
                buf->data.frame_control =
                        cpu_to_le16(IEEE80211_FTYPE_CTL | IEEE80211_STYPE_CTS);
 
-               memcpy(buf->data.ra, priv->abyCurrentNetAddr, ETH_ALEN);
+               memcpy(buf->data.ra, priv->current_net_addr, ETH_ALEN);
 
                return vnt_rxtx_datahead_g_fb(tx_context, pkt_type,
                                current_rate, &buf->data_head, frame_len,
@@ -536,7 +536,7 @@ static u16 vnt_fill_cts_head(struct vnt_usb_send_context *tx_context,
                buf->data.frame_control =
                        cpu_to_le16(IEEE80211_FTYPE_CTL | IEEE80211_STYPE_CTS);
 
-               memcpy(buf->data.ra, priv->abyCurrentNetAddr, ETH_ALEN);
+               memcpy(buf->data.ra, priv->current_net_addr, ETH_ALEN);
 
                return vnt_rxtx_datahead_g(tx_context, pkt_type, current_rate,
                                &buf->data_head, frame_len, need_ack);