Commit 3d09d205 authored by Johan Meiring's avatar Johan Meiring Committed by Greg Kroah-Hartman

staging: wlags49_h2: wl_if.h: fixes tab indentation

This commit sorts out the tab & space indentation problems that were
reported by the checkpatch.pl tool.
Signed-off-by: default avatarJohan Meiring <johanmeiring@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 01fd5732
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
#define MAX_LTV_BUF_SIZE (512 - (sizeof(hcf_16) * 2)) #define MAX_LTV_BUF_SIZE (512 - (sizeof(hcf_16) * 2))
#define HCF_TALLIES_SIZE (sizeof(CFG_HERMES_TALLIES_STRCT) + \ #define HCF_TALLIES_SIZE (sizeof(CFG_HERMES_TALLIES_STRCT) + \
(sizeof(hcf_16) * 2)) (sizeof(hcf_16) * 2))
#define HCF_MAX_MULTICAST 16 #define HCF_MAX_MULTICAST 16
#define HCF_MAX_NAME_LEN 32 #define HCF_MAX_NAME_LEN 32
...@@ -176,57 +176,57 @@ UIL_FUN_PUT_INFO ...@@ -176,57 +176,57 @@ UIL_FUN_PUT_INFO
******************************************************************************/ ******************************************************************************/
typedef struct typedef struct
{ {
__u16 length; __u16 length;
__u8 name[HCF_MAX_NAME_LEN]; __u8 name[HCF_MAX_NAME_LEN];
} }
wvName_t; wvName_t;
typedef struct typedef struct
{ {
hcf_16 len; hcf_16 len;
hcf_16 typ; hcf_16 typ;
union union
{ {
hcf_8 u8[MAX_LTV_BUF_SIZE / sizeof(hcf_8)]; hcf_8 u8[MAX_LTV_BUF_SIZE / sizeof(hcf_8)];
hcf_16 u16[MAX_LTV_BUF_SIZE / sizeof(hcf_16)]; hcf_16 u16[MAX_LTV_BUF_SIZE / sizeof(hcf_16)];
hcf_32 u32[MAX_LTV_BUF_SIZE / sizeof(hcf_32)]; hcf_32 u32[MAX_LTV_BUF_SIZE / sizeof(hcf_32)];
} u; } u;
} }
ltv_t; ltv_t;
struct uilreq struct uilreq
{ {
union union
{ {
char ifrn_name[IFNAMSIZ]; char ifrn_name[IFNAMSIZ];
} ifr_ifrn; } ifr_ifrn;
IFBP hcfCtx; IFBP hcfCtx;
__u8 command; __u8 command;
__u8 result; __u8 result;
/* The data field in this structure is typically an LTV of some type. The /* The data field in this structure is typically an LTV of some type. The
len field is the size of the buffer in bytes, as opposed to words (like len field is the size of the buffer in bytes, as opposed to words (like
the L-field in the LTV */ the L-field in the LTV */
__u16 len; __u16 len;
void *data; void *data;
}; };
struct rtsreq struct rtsreq
{ {
union union
{ {
char ifrn_name[IFNAMSIZ]; char ifrn_name[IFNAMSIZ];
} }
ifr_ifrn; ifr_ifrn;
__u16 typ; __u16 typ;
__u16 reg; __u16 reg;
__u16 len; __u16 len;
__u16 *data; __u16 *data;
}; };
......
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