Commit 77ebd047 authored by Moritz Muehlenhoff's avatar Moritz Muehlenhoff Committed by Greg Kroah-Hartman

Staging: wlan-ng: p80211ioctl.h: Coding style cleanups

Signed-off-by: default avatarMoritz Muehlenhoff <jmm@debian.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 90de180a
...@@ -60,14 +60,9 @@ ...@@ -60,14 +60,9 @@
* -------------------------------------------------------------------- * --------------------------------------------------------------------
*/ */
#ifndef _P80211IOCTL_H #ifndef _P80211IOCTL_H
#define _P80211IOCTL_H #define _P80211IOCTL_H
/*================================================================*/
/* Constants */
/*----------------------------------------------------------------*/
/* p80211 ioctl "request" codes. See argument 2 of ioctl(2). */ /* p80211 ioctl "request" codes. See argument 2 of ioctl(2). */
#define P80211_IFTEST (SIOCDEVPRIVATE + 0) #define P80211_IFTEST (SIOCDEVPRIVATE + 0)
...@@ -78,21 +73,17 @@ ...@@ -78,21 +73,17 @@
#define P80211_IOCTL_MAGIC (0x4a2d464dUL) #define P80211_IOCTL_MAGIC (0x4a2d464dUL)
/*================================================================*/
/* Types */
/*----------------------------------------------------------------*/ /*----------------------------------------------------------------*/
/* A ptr to the following structure type is passed as the third */ /* A ptr to the following structure type is passed as the third */
/* argument to the ioctl system call when issuing a request to */ /* argument to the ioctl system call when issuing a request to */
/* the p80211 module. */ /* the p80211 module. */
typedef struct p80211ioctl_req typedef struct p80211ioctl_req {
{
char name[WLAN_DEVNAMELEN_MAX]; char name[WLAN_DEVNAMELEN_MAX];
caddr_t data; caddr_t data;
u32 magic; u32 magic;
u16 len; u16 len;
u32 result; u32 result;
} __attribute__((packed)) p80211ioctl_req_t; } __attribute__ ((packed)) p80211ioctl_req_t;
#endif /* _P80211IOCTL_H */ #endif /* _P80211IOCTL_H */
...@@ -47,7 +47,6 @@ ...@@ -47,7 +47,6 @@
#ifndef _P80211MKMETADEF_H #ifndef _P80211MKMETADEF_H
#define _P80211MKMETADEF_H #define _P80211MKMETADEF_H
#define DIDmsg_dot11req_mibget \ #define DIDmsg_dot11req_mibget \
(P80211DID_MKSECTION(1) | \ (P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(1)) P80211DID_MKGROUP(1))
......
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