Skip to content

Commit

Permalink
Staging: wlan-ng: fix coding style issues in p80211types.h
Browse files Browse the repository at this point in the history
This is a patch that fixes various coding style issues in p80211types.h.
The typedef declarations have been kept as they seem necessary.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Johan Meiring authored and Greg Kroah-Hartman committed Nov 10, 2010
1 parent 4314e5a commit c5de215
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/wlan-ng/p80211types.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,14 @@
#define P80211DID_LSB_ITEM (12)
#define P80211DID_LSB_INDEX (18)
#define P80211DID_LSB_ISTABLE (26)
#define P80211DID_LSB_ACCESS (27)
#define P80211DID_LSB_ACCESS (27)

#define P80211DID_MASK_SECTION (0x0000003fUL)
#define P80211DID_MASK_GROUP (0x0000003fUL)
#define P80211DID_MASK_ITEM (0x0000003fUL)
#define P80211DID_MASK_INDEX (0x000000ffUL)
#define P80211DID_MASK_ISTABLE (0x00000001UL)
#define P80211DID_MASK_ACCESS (0x00000003UL)
#define P80211DID_MASK_ACCESS (0x00000003UL)

#define P80211DID_MK(a, m, l) ((((u32)(a)) & (m)) << (l))

Expand Down

0 comments on commit c5de215

Please sign in to comment.