Commit d83908ed authored by Bhanusree Pola's avatar Bhanusree Pola Committed by Greg Kroah-Hartman
Browse files

staging: rtl8192u: Remove typedef for struct _IbssParms



-Avoid typedefs for structure types to maintain kernel coding style.
-Remove typedefs IbssParms and *PIbssParms of struct _IbssParms.
-Change Structure name _IbssParms to ibss_parms to maintain Linux kernel Coding Style.
-Replace occurence of IbssParms to struct ibss_parms.

Signed-off-by: default avatarBhanusree Pola <bhanusreemahesh@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bc6b124b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1506,9 +1506,9 @@ typedef enum _RT_JOIN_ACTION {
	RT_NO_ACTION  = 4,
} RT_JOIN_ACTION;

typedef struct _IbssParms {
struct ibss_parms {
	u16   atimWin;
} IbssParms, *PIbssParms;
};
#define MAX_NUM_RATES	264 // Max num of support rates element: 8,  Max num of ext. support rate: 255. 061122, by rcnjko.

// RF state.
@@ -1554,7 +1554,7 @@ typedef struct _RT_POWER_SAVE_CONTROL {
	struct octet_string			tmpSuppRateSet;
	u8					tmpSuppRateBuf[MAX_NUM_RATES];
	bool				bTmpSuppRate;
	IbssParms				tmpIbpm;
	struct ibss_parms			tmpIbpm;
	bool				bTmpIbpm;

	//