summaryrefslogtreecommitdiff
path: root/drivers/staging/wlags49_h2
diff options
context:
space:
mode:
authorJohan Meiring <johanmeiring@gmail.com>2012-11-20 16:44:57 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-21 13:53:27 -0800
commit5aeb6fcbab02f54e6976acd020999c20e22735bc (patch)
tree33b36e14d75379d87cdcaf4db4b44b22f556ac49 /drivers/staging/wlags49_h2
parent74a9369024bb939032a0676eab36cce514cb65fa (diff)
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: Johan Meiring <johanmeiring@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlags49_h2')
-rw-r--r--drivers/staging/wlags49_h2/wl_if.h21
1 files changed, 7 insertions, 14 deletions
diff --git a/drivers/staging/wlags49_h2/wl_if.h b/drivers/staging/wlags49_h2/wl_if.h
index 61193b303371..351d29b821ea 100644
--- a/drivers/staging/wlags49_h2/wl_if.h
+++ b/drivers/staging/wlags49_h2/wl_if.h
@@ -175,20 +175,17 @@ UIL_FUN_PUT_INFO
/*******************************************************************************
* STRUCTURE DEFINITIONS
******************************************************************************/
-typedef struct
-{
+typedef struct {
__u16 length;
__u8 name[HCF_MAX_NAME_LEN];
}
wvName_t;
-typedef struct
-{
+typedef struct {
hcf_16 len;
hcf_16 typ;
- union
- {
+ union {
hcf_8 u8[MAX_LTV_BUF_SIZE / sizeof(hcf_8)];
hcf_16 u16[MAX_LTV_BUF_SIZE / sizeof(hcf_16)];
hcf_32 u32[MAX_LTV_BUF_SIZE / sizeof(hcf_32)];
@@ -197,10 +194,8 @@ typedef struct
ltv_t;
-struct uilreq
-{
- union
- {
+struct uilreq {
+ union {
char ifrn_name[IFNAMSIZ];
} ifr_ifrn;
@@ -216,10 +211,8 @@ struct uilreq
};
-struct rtsreq
-{
- union
- {
+struct rtsreq {
+ union {
char ifrn_name[IFNAMSIZ];
}
ifr_ifrn;