@@ -407,7 +407,7 @@ struct host_if_msg {
407
407
};
408
408
409
409
/*Struct containg joinParam of each AP*/
410
- typedef struct _tstrJoinBssParam {
410
+ struct join_bss_param {
411
411
BSSTYPE_T bss_type ;
412
412
u8 dtim_period ;
413
413
u16 beacon_period ;
@@ -435,7 +435,7 @@ typedef struct _tstrJoinBssParam {
435
435
u8 au8Duration [4 ];
436
436
u8 au8Interval [4 ];
437
437
u8 au8StartTime [4 ];
438
- } tstrJoinBssParam ;
438
+ };
439
439
440
440
typedef enum {
441
441
SCAN_TIMER = 0 ,
@@ -1438,7 +1438,7 @@ static s32 Handle_Connect(struct host_if_drv *drvHandler,
1438
1438
u32 u32WidsCount = 0 , dummyval = 0 ;
1439
1439
/* char passphrase[] = "12345678"; */
1440
1440
u8 * pu8CurrByte = NULL ;
1441
- tstrJoinBssParam * ptstrJoinBssParam ;
1441
+ struct join_bss_param * ptstrJoinBssParam ;
1442
1442
1443
1443
PRINT_D (GENERIC_DBG , "Handling connect request\n" );
1444
1444
@@ -1453,7 +1453,7 @@ static s32 Handle_Connect(struct host_if_drv *drvHandler,
1453
1453
1454
1454
PRINT_INFO (HOSTINF_DBG , "Saving connection parameters in global structure\n" );
1455
1455
1456
- ptstrJoinBssParam = (tstrJoinBssParam * )pstrHostIFconnectAttr -> pJoinParams ;
1456
+ ptstrJoinBssParam = (struct join_bss_param * )pstrHostIFconnectAttr -> pJoinParams ;
1457
1457
if (ptstrJoinBssParam == NULL ) {
1458
1458
PRINT_ER ("Required BSSID not found\n" );
1459
1459
s32Error = - ENOENT ;
@@ -6700,7 +6700,7 @@ s32 host_int_setup_multicast_filter(struct host_if_drv *hWFIDrv, bool bIsEnabled
6700
6700
* @version 1.0**/
6701
6701
static void * host_int_ParseJoinBssParam (tstrNetworkInfo * ptstrNetworkInfo )
6702
6702
{
6703
- tstrJoinBssParam * pNewJoinBssParam = NULL ;
6703
+ struct join_bss_param * pNewJoinBssParam = NULL ;
6704
6704
u8 * pu8IEs ;
6705
6705
u16 u16IEsLen ;
6706
6706
u16 index = 0 ;
@@ -6716,9 +6716,9 @@ static void *host_int_ParseJoinBssParam(tstrNetworkInfo *ptstrNetworkInfo)
6716
6716
pu8IEs = ptstrNetworkInfo -> pu8IEs ;
6717
6717
u16IEsLen = ptstrNetworkInfo -> u16IEsLen ;
6718
6718
6719
- pNewJoinBssParam = kmalloc (sizeof (tstrJoinBssParam ), GFP_KERNEL );
6719
+ pNewJoinBssParam = kmalloc (sizeof (struct join_bss_param ), GFP_KERNEL );
6720
6720
if (pNewJoinBssParam != NULL ) {
6721
- memset (pNewJoinBssParam , 0 , sizeof (tstrJoinBssParam ));
6721
+ memset (pNewJoinBssParam , 0 , sizeof (struct join_bss_param ));
6722
6722
pNewJoinBssParam -> dtim_period = ptstrNetworkInfo -> u8DtimPeriod ;
6723
6723
pNewJoinBssParam -> beacon_period = ptstrNetworkInfo -> u16BeaconPeriod ;
6724
6724
pNewJoinBssParam -> cap_info = ptstrNetworkInfo -> u16CapInfo ;
@@ -6902,8 +6902,8 @@ static void *host_int_ParseJoinBssParam(tstrNetworkInfo *ptstrNetworkInfo)
6902
6902
6903
6903
void host_int_freeJoinParams (void * pJoinParams )
6904
6904
{
6905
- if ((tstrJoinBssParam * )pJoinParams != NULL )
6906
- kfree ((tstrJoinBssParam * )pJoinParams );
6905
+ if ((struct bss_param * )pJoinParams != NULL )
6906
+ kfree ((struct bss_param * )pJoinParams );
6907
6907
else
6908
6908
PRINT_ER ("Unable to FREE null pointer\n" );
6909
6909
}
0 commit comments