Commit f1945a15 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: struct vnt_private rename byLocalID to local_id

Removing camel case
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8a73f9da
...@@ -300,7 +300,7 @@ struct vnt_private { ...@@ -300,7 +300,7 @@ struct vnt_private {
/* Version control */ /* Version control */
u16 firmware_version; u16 firmware_version;
u8 byLocalID; u8 local_id;
u8 byRFType; u8 byRFType;
u8 byBBRxConf; u8 byBBRxConf;
......
...@@ -175,7 +175,7 @@ int vnt_rx_data(struct vnt_private *priv, struct vnt_rcb *ptr_rcb, ...@@ -175,7 +175,7 @@ int vnt_rx_data(struct vnt_private *priv, struct vnt_rcb *ptr_rcb,
rx_status.rate_idx = rate_idx; rx_status.rate_idx = rate_idx;
if (ieee80211_has_protected(fc)) { 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; rx_status.flag |= RX_FLAG_DECRYPTED;
/* Drop packet */ /* Drop packet */
......
...@@ -158,7 +158,7 @@ int vnt_set_keys(struct ieee80211_hw *hw, struct ieee80211_sta *sta, ...@@ -158,7 +158,7 @@ int vnt_set_keys(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
break; break;
case WLAN_CIPHER_SUITE_CCMP: case WLAN_CIPHER_SUITE_CCMP:
if (priv->byLocalID <= MAC_REVISION_A1) if (priv->local_id <= MAC_REVISION_A1)
return -EINVAL; return -EINVAL;
key_dec_mode = KEY_CTL_CCMP; key_dec_mode = KEY_CTL_CCMP;
......
...@@ -189,7 +189,7 @@ static int device_init_registers(struct vnt_private *priv) ...@@ -189,7 +189,7 @@ static int device_init_registers(struct vnt_private *priv)
/* local ID for AES functions */ /* local ID for AES functions */
status = vnt_control_in(priv, MESSAGE_TYPE_READ, status = vnt_control_in(priv, MESSAGE_TYPE_READ,
MAC_REG_LOCALID, MESSAGE_REQUEST_MACREG, 1, MAC_REG_LOCALID, MESSAGE_REQUEST_MACREG, 1,
&priv->byLocalID); &priv->local_id);
if (status != STATUS_SUCCESS) if (status != STATUS_SUCCESS)
return false; return false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment