Commit 5aeb6fcb authored by Johan Meiring's avatar Johan Meiring Committed by Greg Kroah-Hartman

staging: wlags49_h2: wl_if.h: fixes brace placement

This commit fixes incorrect brace placement, as 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 74a93690
...@@ -175,20 +175,17 @@ UIL_FUN_PUT_INFO ...@@ -175,20 +175,17 @@ UIL_FUN_PUT_INFO
/******************************************************************************* /*******************************************************************************
* STRUCTURE DEFINITIONS * STRUCTURE DEFINITIONS
******************************************************************************/ ******************************************************************************/
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)];
...@@ -197,10 +194,8 @@ typedef struct ...@@ -197,10 +194,8 @@ typedef struct
ltv_t; ltv_t;
struct uilreq struct uilreq {
{ union {
union
{
char ifrn_name[IFNAMSIZ]; char ifrn_name[IFNAMSIZ];
} ifr_ifrn; } ifr_ifrn;
...@@ -216,10 +211,8 @@ struct uilreq ...@@ -216,10 +211,8 @@ struct uilreq
}; };
struct rtsreq struct rtsreq {
{ union {
union
{
char ifrn_name[IFNAMSIZ]; char ifrn_name[IFNAMSIZ];
} }
ifr_ifrn; ifr_ifrn;
......
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