staging: vt6656: struct vnt_private rename byLocalID to local_id
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 19 Jul 2014 11:30:06 +0000 (12:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Jul 2014 19:11:56 +0000 (12:11 -0700)
Removing 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/dpc.c
drivers/staging/vt6656/key.c
drivers/staging/vt6656/main_usb.c

index b9f48416d4d1a680fe5084957c72c158bb7ec621..c1d0551d103a175a29d389be35ab1617fc67af65 100644 (file)
@@ -300,7 +300,7 @@ struct vnt_private {
 
        /* Version control */
        u16 firmware_version;
-       u8 byLocalID;
+       u8 local_id;
        u8 byRFType;
        u8 byBBRxConf;
 
index f3da0db77c042c38573a3a433a8779397fbf3e30..5d4c2c1e67166416f1f98e4a12182b15641d6430 100644 (file)
@@ -175,7 +175,7 @@ int vnt_rx_data(struct vnt_private *priv, struct vnt_rcb *ptr_rcb,
        rx_status.rate_idx = rate_idx;
 
        if (ieee80211_has_protected(fc)) {
-               if (priv->byLocalID > REV_ID_VT3253_A1) {
+               if (priv->local_id > REV_ID_VT3253_A1) {
                        rx_status.flag |= RX_FLAG_DECRYPTED;
 
                        /* Drop packet */
index b76ee3106d5f686f8fe7348b6809741eb8b261bc..22f2961d222548975dcecb4e66c0d4f421410e22 100644 (file)
@@ -158,7 +158,7 @@ int vnt_set_keys(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
 
                break;
        case WLAN_CIPHER_SUITE_CCMP:
-               if (priv->byLocalID <= MAC_REVISION_A1)
+               if (priv->local_id <= MAC_REVISION_A1)
                        return -EINVAL;
 
                key_dec_mode = KEY_CTL_CCMP;
index ba2467c95781cb2ab078fb4a7b5aa3e902d65d25..9974bab468c4cd259bf6ceb3be6e0955034091c1 100644 (file)
@@ -189,7 +189,7 @@ static int device_init_registers(struct vnt_private *priv)
        /* local ID for AES functions */
        status = vnt_control_in(priv, MESSAGE_TYPE_READ,
                MAC_REG_LOCALID, MESSAGE_REQUEST_MACREG, 1,
-                       &priv->byLocalID);
+                       &priv->local_id);
        if (status != STATUS_SUCCESS)
                return false;