Skip to content

Commit

Permalink
Staging: wlan-ng: p80211ioctl.h: Coding style cleanups
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Moritz Muehlenhoff authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 90de180 commit 77ebd04
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
21 changes: 6 additions & 15 deletions drivers/staging/wlan-ng/p80211ioctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,9 @@
* --------------------------------------------------------------------
*/


#ifndef _P80211IOCTL_H
#define _P80211IOCTL_H

/*================================================================*/
/* Constants */

/*----------------------------------------------------------------*/
/* p80211 ioctl "request" codes. See argument 2 of ioctl(2). */

#define P80211_IFTEST (SIOCDEVPRIVATE + 0)
Expand All @@ -78,21 +73,17 @@

#define P80211_IOCTL_MAGIC (0x4a2d464dUL)

/*================================================================*/
/* Types */

/*----------------------------------------------------------------*/
/* A ptr to the following structure type is passed as the third */
/* argument to the ioctl system call when issuing a request to */
/* the p80211 module. */

typedef struct p80211ioctl_req
{
char name[WLAN_DEVNAMELEN_MAX];
typedef struct p80211ioctl_req {
char name[WLAN_DEVNAMELEN_MAX];
caddr_t data;
u32 magic;
u16 len;
u32 result;
} __attribute__((packed)) p80211ioctl_req_t;
u32 magic;
u16 len;
u32 result;
} __attribute__ ((packed)) p80211ioctl_req_t;

#endif /* _P80211IOCTL_H */
1 change: 0 additions & 1 deletion drivers/staging/wlan-ng/p80211metadef.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
#ifndef _P80211MKMETADEF_H
#define _P80211MKMETADEF_H


#define DIDmsg_dot11req_mibget \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(1))
Expand Down

0 comments on commit 77ebd04

Please sign in to comment.