staging/rtl8187se: Fix spacing coding style in ieee80211/ieee80211_module.c
authorYAMANE Toshiaki <yamanetoshi@gmail.com>
Tue, 20 Nov 2012 12:12:11 +0000 (21:12 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 21:59:59 +0000 (13:59 -0800)
The following errors and warnings fixed.
- ERROR: space required after that ',' (ctx:VxV)
- ERROR: code indent should use tabs where possible
- WARNING: please, no space before tabs
- WARNING: please, no spaces at the start of a line
- WARNING: suspect code indent for conditional statements (8, 10)

Signed-off-by: YAMANE Toshiaki <yamanetoshi@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8187se/ieee80211/ieee80211_module.c

index 66b4833a503f91d90b8fd1046f008506c2df5d0e..4358c4b0ca60b5b55dfc87e96d3869386c42cf2e 100644 (file)
@@ -99,7 +99,7 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
 {
        struct ieee80211_device *ieee;
        struct net_device *dev;
-       int i,err;
+       int i, err;
 
        IEEE80211_DEBUG_INFO("Initializing...\n");
 
@@ -139,11 +139,11 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
        spin_lock_init(&ieee->wpax_suitlist_lock);
 
        ieee->wpax_type_set = 0;
-       ieee->wpa_enabled = 0;
-       ieee->tkip_countermeasures = 0;
-       ieee->drop_unencrypted = 0;
-       ieee->privacy_invoked = 0;
-       ieee->ieee802_1x = 1;
+       ieee->wpa_enabled = 0;
+       ieee->tkip_countermeasures = 0;
+       ieee->drop_unencrypted = 0;
+       ieee->privacy_invoked = 0;
+       ieee->ieee802_1x = 1;
        ieee->raw_tx = 0;
 
        ieee80211_softmac_init(ieee);
@@ -152,9 +152,9 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
                INIT_LIST_HEAD(&ieee->ibss_mac_hash[i]);
 
        for (i = 0; i < 17; i++) {
-         ieee->last_rxseq_num[i] = -1;
-         ieee->last_rxfrag_num[i] = -1;
-         ieee->last_packet_time[i] = 0;
+               ieee->last_rxseq_num[i] = -1;
+               ieee->last_rxfrag_num[i] = -1;
+               ieee->last_packet_time[i] = 0;
        }
 //These function were added to load crypte module autoly
        ieee80211_tkip_null();