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

staging: rtl8192u: Remove typedef for struct _RT_POWER_SAVE_CONTROL



-Avoid typedefs for structure types to maintain kernel coding style.
-Remove typedefs RT_POWER_SAVE_CONTROL and *PRT_POWER_SAVE_CONTROL of struct _RT_POWER_SAVE_CONTROL.
-Change Structure name _RT_POWER_SAVE_CONTROL to rt_power_save_control to maintain Linux kernel Coding Style.
-Replace occurence of _RT_POWER_SAVE_CONTROL to struct rt_power_save_control.

Signed-off-by: default avatarBhanusree Pola <bhanusreemahesh@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d83908ed
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1518,7 +1518,7 @@ typedef enum _RT_RF_POWER_STATE {
	eRfOff
} RT_RF_POWER_STATE;

typedef struct _RT_POWER_SAVE_CONTROL {
struct rt_power_save_control {

	//
	// Inactive Power Save(IPS) : Disable RF when disconnected
@@ -1562,7 +1562,7 @@ typedef struct _RT_POWER_SAVE_CONTROL {
	//
	bool				bLeisurePs;

} RT_POWER_SAVE_CONTROL, *PRT_POWER_SAVE_CONTROL;
};

typedef u32 RT_RF_CHANGE_SOURCE;
#define RF_CHANGE_BY_SW		BIT(31)
@@ -1878,7 +1878,7 @@ struct ieee80211_device {
	//added by amy for AP roaming
	RT_LINK_DETECT_T       	LinkDetectInfo;
	//added by amy for ps
	RT_POWER_SAVE_CONTROL	PowerSaveControl;
	struct rt_power_save_control PowerSaveControl;
//}
	/* used if IEEE_SOFTMAC_TX_QUEUE is set */
	struct  tx_pending tx_pending;