Skip to content

Commit

Permalink
Staging: rtl8192e: Fixed numerous coding style issues
Browse files Browse the repository at this point in the history
Fixed all coding style issues thrown by checkpatch.pl.

Signed-off-by: Ken O'Brien <kernel@kenobrien.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Ken O'Brien authored and Greg Kroah-Hartman committed Jun 28, 2011
1 parent dc6b15f commit 45ce3f6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions drivers/staging/rtl8192e/dot11d.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
#ifdef ENABLE_DOT11D
#include "ieee80211.h"

typedef struct _CHNL_TXPOWER_TRIPLE {
struct _CHNL_TXPOWER_TRIPLE {
u8 FirstChnl;
u8 NumChnls;
u8 MaxTxPowerInDbm;
} CHNL_TXPOWER_TRIPLE, *PCHNL_TXPOWER_TRIPLE;
};

typedef enum _DOT11D_STATE {
enum _DOT11D_STATE {
DOT11D_STATE_NONE = 0,
DOT11D_STATE_LEARNED,
DOT11D_STATE_DONE,
} DOT11D_STATE;
};

/**
* struct _RT_DOT11D_INFO
Expand All @@ -27,7 +27,7 @@ typedef enum _DOT11D_STATE {
* @CountryIeSrcAddr - Source AP of the country IE
*/

typedef struct _RT_DOT11D_INFO {
struct _RT_DOT11D_INFO {
bool bEnabled;

u16 CountryIeLen;
Expand All @@ -39,7 +39,7 @@ typedef struct _RT_DOT11D_INFO {
u8 MaxTxPwrDbmList[MAX_CHANNEL_NUMBER+1];

DOT11D_STATE State;
} RT_DOT11D_INFO, *PRT_DOT11D_INFO;
};

static inline void cpMacAddr(unsigned char *des, unsigned char *src)
{
Expand Down

0 comments on commit 45ce3f6

Please sign in to comment.