diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-07-20 15:33:11 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-21 12:16:28 -0700 |
commit | 65df77e2ca31a77db13cc37d3c3d34886aeaa607 (patch) | |
tree | 8e9f1079166a94cf2f02cc86a5409cbad8905647 /drivers/staging/vt6656/main_usb.c | |
parent | ff5fee22294da7d60ebb8c7b0b3f24aeb1307a7b (diff) |
staging: vt6656: struct vnt_private replace byBBType with bb_type
Removing type 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 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index 1137a190ec0e..5ca28c2138a5 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -121,8 +121,8 @@ static void device_set_options(struct vnt_private *priv) priv->byShortRetryLimit = SHORT_RETRY_DEF; priv->byLongRetryLimit = LONG_RETRY_DEF; priv->op_mode = NL80211_IFTYPE_UNSPECIFIED; - priv->byBBType = BBP_TYPE_DEF; - priv->byPacketType = priv->byBBType; + priv->bb_type = BBP_TYPE_DEF; + priv->byPacketType = priv->bb_type; priv->byAutoFBCtrl = AUTO_FB_0; priv->byPreambleType = 0; priv->exist_sw_net_addr = false; @@ -283,7 +283,7 @@ static int device_init_registers(struct vnt_private *priv) priv->byAutoFBCtrl = AUTO_FB_0; /* default Auto Mode */ - priv->byBBType = BB_TYPE_11G; + priv->bb_type = BB_TYPE_11G; /* get RFType */ priv->rf_type = init_rsp->rf_type; @@ -341,7 +341,7 @@ static int device_init_registers(struct vnt_private *priv) * set BB and packet type at the same time * set Short Slot Time, xIFS, and RSPINF */ - if (priv->byBBType == BB_TYPE_11A) + if (priv->bb_type == BB_TYPE_11A) priv->bShortSlotTime = true; else priv->bShortSlotTime = false; @@ -709,15 +709,15 @@ static int vnt_config(struct ieee80211_hw *hw, u32 changed) else bb_type = BB_TYPE_11G; - if (priv->byBBType != bb_type) { - priv->byBBType = bb_type; + if (priv->bb_type != bb_type) { + priv->bb_type = bb_type; vnt_set_bss_mode(priv); } } if (changed & IEEE80211_CONF_CHANGE_POWER) { - if (priv->byBBType == BB_TYPE_11B) + if (priv->bb_type == BB_TYPE_11B) priv->wCurrentRate = RATE_1M; else priv->wCurrentRate = RATE_54M; |