This patch removes typedef from the struct tstrHiddenNetwork.
And, rename it to hidden_network.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
size_t IEsLen;
wilc_scan_result pfScanResult;
void *pvUserArg;
- tstrHiddenNetwork strHiddenNetwork;
+ struct hidden_network strHiddenNetwork;
};
/*!
u8 u8ScanType, u8 *pu8ChnlFreqList,
u8 u8ChnlListLen, const u8 *pu8IEs,
size_t IEsLen, wilc_scan_result ScanResult,
- void *pvUserArg, tstrHiddenNetwork *pstrHiddenNetwork)
+ void *pvUserArg,
+ struct hidden_network *pstrHiddenNetwork)
{
s32 s32Error = 0;
tstrWILC_WFIDrv *pstrWFIDrv = (tstrWILC_WFIDrv *)hWFIDrv;
} tstrHiddenNetworkInfo;
-typedef struct _tstrHiddenNetwork {
+struct hidden_network {
/* MAX_SSID_LEN */
tstrHiddenNetworkInfo *pstrHiddenNetworkInfo;
u8 u8ssidnum;
-
-} tstrHiddenNetwork;
+};
typedef struct {
/* Scan user call back function */
u8 u8ScanType, u8 *pu8ChnlFreqList,
u8 u8ChnlListLen, const u8 *pu8IEs,
size_t IEsLen, wilc_scan_result ScanResult,
- void *pvUserArg, tstrHiddenNetwork *pstrHiddenNetwork);
+ void *pvUserArg,
+ struct hidden_network *pstrHiddenNetwork);
/**
* @brief sets configuration wids values
* @details
u32 i;
s32 s32Error = 0;
u8 au8ScanChanList[MAX_NUM_SCANNED_NETWORKS];
- tstrHiddenNetwork strHiddenNetwork;
+ struct hidden_network strHiddenNetwork;
priv = wiphy_priv(wiphy);
if (request->n_ssids >= 1) {
- strHiddenNetwork.pstrHiddenNetworkInfo = kmalloc(request->n_ssids * sizeof(tstrHiddenNetwork), GFP_KERNEL);
+ strHiddenNetwork.pstrHiddenNetworkInfo = kmalloc(request->n_ssids * sizeof(struct hidden_network), GFP_KERNEL);
strHiddenNetwork.u8ssidnum = request->n_ssids;