Commit 14c5e41f authored by Peter Senna Tschudin's avatar Peter Senna Tschudin Committed by Greg Kroah-Hartman

staging: vt6556: Cleanup coding style: indentation

This patch cleanup the follwoing coding style issues:
 - indentation style
 - new line after declaration

Tested by compilation only.
Signed-off-by: default avatarPeter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 42b138d9
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
#include "int.h" #include "int.h"
/* static int msglevel = MSG_LEVEL_DEBUG; */ /* static int msglevel = MSG_LEVEL_DEBUG; */
static int msglevel =MSG_LEVEL_INFO; static int msglevel = MSG_LEVEL_INFO;
/* /*
* define module options * define module options
...@@ -177,13 +177,12 @@ static struct usb_device_id vt6656_table[] = { ...@@ -177,13 +177,12 @@ static struct usb_device_id vt6656_table[] = {
/* frequency list (map channels to frequencies) */ /* frequency list (map channels to frequencies) */
/* /*
static const long frequency_list[] = { static const long frequency_list[] = {
2412, 2417, 2422, 2427, 2432, 2437, 2442, 2447, 2452, 2457, 2462, 2467, 2472, 2484, 2412, 2417, 2422, 2427, 2432, 2437, 2442, 2447, 2452, 2457, 2462, 2467,
4915, 4920, 4925, 4935, 4940, 4945, 4960, 4980, 2472, 2484, 4915, 4920, 4925, 4935, 4940, 4945, 4960, 4980, 5035, 5040,
5035, 5040, 5045, 5055, 5060, 5080, 5170, 5180, 5190, 5200, 5210, 5220, 5230, 5240, 5045, 5055, 5060, 5080, 5170, 5180, 5190, 5200, 5210, 5220, 5230, 5240,
5260, 5280, 5300, 5320, 5500, 5520, 5540, 5560, 5580, 5600, 5620, 5640, 5660, 5680, 5260, 5280, 5300, 5320, 5500, 5520, 5540, 5560, 5580, 5600, 5620, 5640,
5700, 5745, 5765, 5785, 5805, 5825 5660, 5680, 5700, 5745, 5765, 5785, 5805, 5825
}; };
*/ */
static int vt6656_probe(struct usb_interface *intf, static int vt6656_probe(struct usb_interface *intf,
...@@ -206,16 +205,16 @@ static void usb_device_reset(struct vnt_private *pDevice); ...@@ -206,16 +205,16 @@ static void usb_device_reset(struct vnt_private *pDevice);
static void static void
device_set_options(struct vnt_private *pDevice) { device_set_options(struct vnt_private *pDevice) {
pDevice->cbTD = TX_DESC_DEF0; pDevice->cbTD = TX_DESC_DEF0;
pDevice->cbRD = RX_DESC_DEF0; pDevice->cbRD = RX_DESC_DEF0;
pDevice->byShortRetryLimit = SHORT_RETRY_DEF; pDevice->byShortRetryLimit = SHORT_RETRY_DEF;
pDevice->byLongRetryLimit = LONG_RETRY_DEF; pDevice->byLongRetryLimit = LONG_RETRY_DEF;
pDevice->op_mode = NL80211_IFTYPE_UNSPECIFIED; pDevice->op_mode = NL80211_IFTYPE_UNSPECIFIED;
pDevice->byBBType = BBP_TYPE_DEF; pDevice->byBBType = BBP_TYPE_DEF;
pDevice->byPacketType = pDevice->byBBType; pDevice->byPacketType = pDevice->byBBType;
pDevice->byAutoFBCtrl = AUTO_FB_0; pDevice->byAutoFBCtrl = AUTO_FB_0;
pDevice->byPreambleType = 0; pDevice->byPreambleType = 0;
pDevice->bExistSWNetAddr = false; pDevice->bExistSWNetAddr = false;
} }
/* /*
...@@ -842,6 +841,7 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw, ...@@ -842,6 +841,7 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw,
u32 changed) u32 changed)
{ {
struct vnt_private *priv = hw->priv; struct vnt_private *priv = hw->priv;
priv->current_aid = conf->aid; priv->current_aid = conf->aid;
if (changed & BSS_CHANGED_BSSID) if (changed & BSS_CHANGED_BSSID)
......
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