]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: wilc1000: fix alignment of defines
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 15 Sep 2015 05:06:22 +0000 (14:06 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Sep 2015 13:52:48 +0000 (06:52 -0700)
This patch fix alignment of defines.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.h

index f15a878b6e04f197c87c29a9174a9a6685ccc9e3..64bcd80feaae33f1e9f1d463353dd0ab04840a9e 100644 (file)
 #define IDLE_MODE      0x00
 #define AP_MODE                0x01
 #define STATION_MODE   0x02
-#define GO_MODE        0x03
+#define GO_MODE                0x03
 #define CLIENT_MODE    0x04
 
 
-#define MAX_NUM_STA                 9
+#define MAX_NUM_STA                            9
 #define ACTIVE_SCAN_TIME                       10
 #define PASSIVE_SCAN_TIME                      1200
 #define MIN_SCAN_TIME                          10
 #define OBSS_PERIODIC_SCAN                     BIT(1)
 #define OBSS_ONETIME_SCAN                      BIT(2)
 #define GTK_RX_KEY_BUFF_LEN                    24
-#define ADDKEY                                         0x1
-#define REMOVEKEY                                      0x2
-#define DEFAULTKEY                                     0x4
-#define ADDKEY_AP                                      0x8
-#define MAX_NUM_SCANNED_NETWORKS       100 /* 30               // rachel */
-#define MAX_NUM_SCANNED_NETWORKS_SHADOW        130
-#define MAX_NUM_PROBED_SSID            10  /*One more than the number of scanned ssids*/
+#define ADDKEY                                 0x1
+#define REMOVEKEY                              0x2
+#define DEFAULTKEY                             0x4
+#define ADDKEY_AP                              0x8
+#define MAX_NUM_SCANNED_NETWORKS               100 /* 30               // rachel */
+#define MAX_NUM_SCANNED_NETWORKS_SHADOW                130
+#define MAX_NUM_PROBED_SSID                    10  /*One more than the number of scanned ssids*/
 #define CHANNEL_SCAN_TIME                      250 /* 250 */
 
 #define TX_MIC_KEY_LEN                         8
 #define RX_MIC_KEY_LEN                         8
-#define PTK_KEY_LEN                                    16
+#define PTK_KEY_LEN                            16
 
 #define TX_MIC_KEY_MSG_LEN                     26
 #define RX_MIC_KEY_MSG_LEN                     48
 #define PTK_KEY_MSG_LEN                                39
 
 #define PMKSA_KEY_LEN                          22
-#define ETH_ALEN  6
-#define PMKID_LEN                                      16
-#define WILC_MAX_NUM_PMKIDS  16
-#define WILC_SUPP_MCS_SET_SIZE 16
-#define WILC_ADD_STA_LENGTH    40 /* Not including the rates field cause it has variable length*/
+#define ETH_ALEN                               6
+#define PMKID_LEN                              16
+#define WILC_MAX_NUM_PMKIDS                    16
+#define WILC_SUPP_MCS_SET_SIZE                 16
+#define WILC_ADD_STA_LENGTH                    40 /* Not including the rates field cause it has variable length*/
 #define SCAN_EVENT_DONE_ABORTED
-#define NUM_CONCURRENT_IFC 2
+#define NUM_CONCURRENT_IFC                     2
 
 typedef struct {
        u16 cfg_wid;
@@ -304,11 +304,11 @@ typedef struct {
 } tstrHostIfRegisterFrame;
 
 
-#define   ACTION         0xD0
-#define   PROBE_REQ   0x40
-#define   PROBE_RESP  0x50
-#define   ACTION_FRM_IDX   0
-#define   PROBE_REQ_IDX     1
+#define ACTION                 0xD0
+#define PROBE_REQ              0x40
+#define PROBE_RESP             0x50
+#define ACTION_FRM_IDX         0
+#define PROBE_REQ_IDX          1
 
 
 enum p2p_listen_state {