Commit 52c5c2e0 authored by Himangi Saraogi's avatar Himangi Saraogi Committed by Greg Kroah-Hartman
Browse files

Staging: rtl8187se: Fix C99 style commenting in dot11d.h



This patch fixes the checkpatch.pl error "do not use C99 // comments"
in ieee80211/dot11d.n.

Signed-off-by: default avatarHimangi Saraogi <himangi774@gmail.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent caace4b5
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -3,9 +3,9 @@

#include "ieee80211.h"

//#define ENABLE_DOT11D
/* #define ENABLE_DOT11D */

//#define DOT11D_MAX_CHNL_NUM 83
/* #define DOT11D_MAX_CHNL_NUM 83 */

typedef struct _CHNL_TXPOWER_TRIPLE {
	u8 FirstChnl;
@@ -20,18 +20,18 @@ typedef enum _DOT11D_STATE {
}DOT11D_STATE;

typedef struct _RT_DOT11D_INFO {
	//DECLARE_RT_OBJECT(RT_DOT11D_INFO);
	/* DECLARE_RT_OBJECT(RT_DOT12D_INFO); */

	bool bEnabled; // dot11MultiDomainCapabilityEnabled
	bool bEnabled; /* dot11MultiDomainCapabilityEnabled */

	u16 CountryIeLen; // > 0 if CountryIeBuf[] contains valid country information element.
	u16 CountryIeLen; /* > 0 if CountryIeBuf[] contains valid country information element. */
	u8  CountryIeBuf[MAX_IE_LEN];
	u8  CountryIeSrcAddr[6]; // Source AP of the country IE.
	u8  CountryIeSrcAddr[6]; /* Source AP of the country IE. */
	u8  CountryIeWatchdog;

	u8  channel_map[MAX_CHANNEL_NUMBER+1];  //!!!Value 0: Invalid, 1: Valid (active scan), 2: Valid (passive scan)
	//u8  ChnlListLen; // #Bytes valid in ChnlList[].
	//u8  ChnlList[DOT11D_MAX_CHNL_NUM];
	u8  channel_map[MAX_CHANNEL_NUMBER+1];  /* !!!Value 0: Invalid, 1: Valid (active scan), 2: Valid (passive scan) */
	/* u8  ChnlListLen; // #Bytes valid in ChnlList[]. */
	/* u8  ChnlList[DOT11D_MAX_CHNL_NUM]; */
	u8  MaxTxPwrDbmList[MAX_CHANNEL_NUMBER+1];

	DOT11D_STATE State;
@@ -97,4 +97,4 @@ int ToLegalChannel(
	struct ieee80211_device * dev,
	u8 channel
);
#endif // #ifndef __INC_DOT11D_H
#endif /*  #ifndef __INC_DOT11D_H */