staging: wilc1000: fix return type of host_int_set_WEPDefaultKeyID
PATCH 1/33 staging: wilc1000: fix return type of host_int_set_WEPDefaultKeyID
This patch changes return type of host_int_set_WEPDefaultKeyID from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type by int as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -3196,9 +3196,9 @@ int host_int_remove_wep_key(struct host_if_drv *hif_drv, u8 index)return result; } -s32 host_int_set_WEPDefaultKeyID (struct host_if_drv *hif_drv,u8 u8Index) +int host_int_set_WEPDefaultKeyID (struct host_if_drv *hif_drv,u8 u8Index) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -384,7 +384,7 @@ int host_int_remove_wep_key(struct host_if_drv *wfi_drv, u8 index);* @date 8 March 2012 * @version 1.0 */ -s32 host_int_set_WEPDefaultKeyID (struct host_if_drv *hWFIDrv,u8 u8Index); +int host_int_set_WEPDefaultKeyID (struct host_if_drv *hWFIDrv,u8 u8Index);/** * @brief sets WEP deafault key
Signature · 1 line
2.6.1
PATCH 2/33 staging: wilc1000: fix return type of host_int_add_wep_key_bss_sta
This patch changes return type of host_int_add_wep_key_bss_sta from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type by int as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -3225,13 +3225,13 @@ int host_int_set_WEPDefaultKeyID(struct host_if_drv *hif_drv, u8 u8Index)return s32Error; } -s32 host_int_add_wep_key_bss_sta (struct host_if_drv *hif_drv, +int host_int_add_wep_key_bss_sta (struct host_if_drv *hif_drv,const u8 *pu8WepKey,u8 u8WepKeylen,u8 u8Keyidx) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;if (!hif_drv) {
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -405,7 +405,7 @@ int host_int_set_WEPDefaultKeyID(struct host_if_drv *hWFIDrv, u8 u8Index);* @date 8 March 2012 * @version 1.0 */ -s32 host_int_add_wep_key_bss_sta (struct host_if_drv *hWFIDrv,const u8 *pu8WepKey,u8 u8WepKeylen,u8 u8Keyidx); +int host_int_add_wep_key_bss_sta (struct host_if_drv *hWFIDrv,const u8 *pu8WepKey,u8 u8WepKeylen,u8 u8Keyidx);/** * @brief host_int_add_wep_key_bss_ap * @details valid only in AP mode if External Supplicant support is enabled.
Signature · 1 line
2.6.1
PATCH 3/33 staging: wilc1000: fix return type of host_int_add_wep_key_bss_ap
In reply to Chaehyun LimThis patch changes return type of host_int_add_wep_key_bss_ap from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type by int as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -3261,7 +3261,7 @@ int host_int_add_wep_key_bss_sta(struct host_if_drv *hif_drv, } -s32 host_int_add_wep_key_bss_ap(struct host_if_drv *hif_drv, +int host_int_add_wep_key_bss_ap(struct host_if_drv *hif_drv, const u8 *pu8WepKey, u8 u8WepKeylen, u8 u8Keyidx,
@@ -3269,7 +3269,7 @@ s32 host_int_add_wep_key_bss_ap(struct host_if_drv *hif_drv, enum AUTHTYPE tenuAuth_type) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;u8 i;
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -420,7 +420,7 @@ int host_int_add_wep_key_bss_sta(struct host_if_drv *hWFIDrv, const u8 *pu8WepKe* @date 28 Feb 2013 * @version 1.0 */ -s32 host_int_add_wep_key_bss_ap (struct host_if_drv *hWFIDrv,const u8 *pu8WepKey,u8 u8WepKeylen,u8 u8Keyidx,u8 u8mode,enum AUTHTYPE tenuAuth_type); +int host_int_add_wep_key_bss_ap (struct host_if_drv *hWFIDrv,const u8 *pu8WepKey,u8 u8WepKeylen,u8 u8Keyidx,u8 u8mode,enum AUTHTYPE tenuAuth_type);/** * @brief adds ptk Key
Signature · 1 line
2.6.1
PATCH 4/33 staging: wilc1000: fix return type of host_int_add_ptk
In reply to Chaehyun LimThis patch changes return type of host_int_add_ptk from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type by int as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -3306,12 +3306,12 @@ int host_int_add_wep_key_bss_ap(struct host_if_drv *hif_drv, } -s32 host_int_add_ptk (struct host_if_drv *hif_drv,const u8 *pu8Ptk, +int host_int_add_ptk (struct host_if_drv *hif_drv,const u8 *pu8Ptk,u8 u8PtkKeylen,const u8 *mac_addr,const u8 *pu8RxMic,const u8 *pu8TxMic,u8 mode,u8 u8Ciphermode,u8 u8Idx) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;u8 u8KeyLen = u8PtkKeylen;u32 i;
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -438,7 +438,7 @@ int host_int_add_wep_key_bss_ap(struct host_if_drv *hWFIDrv, const u8 *pu8WepKey* @date 8 March 2012 * @version 1.0 */ -s32 host_int_add_ptk (struct host_if_drv *hWFIDrv,const u8 *pu8Ptk,u8 u8PtkKeylen, +int host_int_add_ptk (struct host_if_drv *hWFIDrv,const u8 *pu8Ptk,u8 u8PtkKeylen,const u8 *mac_addr,const u8 *pu8RxMic,const u8 *pu8TxMic,u8 mode,u8 u8Ciphermode,u8 u8Idx);/**
Signature · 1 line
2.6.1
PATCH 5/33 staging: wilc1000: fix return type of host_int_add_rx_gtk
In reply to Chaehyun LimThis patch changes return type of host_int_add_rx_gtk from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type by int as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -3371,13 +3371,13 @@ int host_int_add_ptk(struct host_if_drv *hif_drv, const u8 *pu8Ptk,return s32Error; } -s32 host_int_add_rx_gtk (struct host_if_drv *hif_drv,const u8 *pu8RxGtk, +int host_int_add_rx_gtk (struct host_if_drv *hif_drv,const u8 *pu8RxGtk,u8 u8GtkKeylen,u8 u8KeyIdx,u32 u32KeyRSClen,const u8 *KeyRSC,const u8 *pu8RxMic,const u8 *pu8TxMic,u8 mode,u8 u8Ciphermode) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;u8 u8KeyLen = u8GtkKeylen;
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -471,7 +471,7 @@ s32 host_int_get_inactive_time(struct host_if_drv *hWFIDrv, const u8 *mac, u32 ** @date 8 March 2012 * @version 1.0 */ -s32 host_int_add_rx_gtk (struct host_if_drv *hWFIDrv,const u8 *pu8RxGtk,u8 u8GtkKeylen, +int host_int_add_rx_gtk (struct host_if_drv *hWFIDrv,const u8 *pu8RxGtk,u8 u8GtkKeylen,u8 u8KeyIdx,u32 u32KeyRSClen,const u8 *KeyRSC,const u8 *pu8RxMic,const u8 *pu8TxMic,u8 mode,u8 u8Ciphermode);
Signature · 1 line
2.6.1
PATCH 6/33 staging: wilc1000: fix return type of host_int_get_inactive_time
In reply to Chaehyun LimThis patch changes return type of host_int_get_inactive_time from s32 int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type by int as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -3871,10 +3871,10 @@ s32 host_int_get_host_chnl_num(struct host_if_drv *hif_drv, u8 *pu8ChNo) } -s32 host_int_get_inactive_time (struct host_if_drv *hif_drv, +int host_int_get_inactive_time (struct host_if_drv *hif_drv,const u8 *mac,u32 *pu32InactiveTime) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;if (!hif_drv) {
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -453,7 +453,7 @@ int host_int_add_ptk(struct host_if_drv *hWFIDrv, const u8 *pu8Ptk, u8 u8PtkKeyl* @date 15 April 2013 * @version 1.0 */ -s32 host_int_get_inactive_time (struct host_if_drv *hWFIDrv,const u8 *mac,u32 *pu32InactiveTime); +int host_int_get_inactive_time (struct host_if_drv *hWFIDrv,const u8 *mac,u32 *pu32InactiveTime);/** * @brief adds Rx GTk Key
Signature · 1 line
2.6.1
PATCH 7/33 staging: wilc1000: fix return type of host_int_set_pmkid_info
In reply to Chaehyun LimThis patch changes return type of host_int_set_pmkid_info from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type by int as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -3433,9 +3433,9 @@ int host_int_add_rx_gtk(struct host_if_drv *hif_drv, const u8 *pu8RxGtk,return s32Error; } -s32 host_int_set_pmkid_info (struct host_if_drv *hif_drv,struct host_if_pmkid_attr *pu8PmkidInfoArray) +int host_int_set_pmkid_info (struct host_if_drv *hif_drv,struct host_if_pmkid_attr *pu8PmkidInfoArray) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;u32 i;
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -515,7 +515,7 @@ s32 host_int_add_tx_gtk(struct host_if_drv *hWFIDrv, u8 u8KeyLen, u8 *pu8TxGtk,* @version 1.0 */ -s32 host_int_set_pmkid_info (struct host_if_drv *hWFIDrv,struct host_if_pmkid_attr *pu8PmkidInfoArray); +int host_int_set_pmkid_info (struct host_if_drv *hWFIDrv,struct host_if_pmkid_attr *pu8PmkidInfoArray);/** * @brief gets the cached the pmkid info * @details valid only in BSS STA mode if External Supplicant
Signature · 1 line
2.6.1
PATCH 8/33 staging: wilc1000: fix return type of host_int_get_MacAddress
In reply to Chaehyun LimThis patch changes return type of host_int_get_MacAddress from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type by int as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -3497,9 +3497,9 @@ s32 host_int_set_RSNAConfigPSKPassPhrase(struct host_if_drv *hif_drv,return 0 ; } -s32 host_int_get_MacAddress (struct host_if_drv *hif_drv,u8 *pu8MacAddress) +int host_int_get_MacAddress (struct host_if_drv *hif_drv,u8 *pu8MacAddress) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;memset (&msg,0 ,sizeof (struct host_if_msg ));
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -586,7 +586,7 @@ s32 host_int_get_RSNAConfigPSKPassPhrase(struct host_if_drv *hWFIDrv,* @date 19 April 2012 * @version 1.0 */ -s32 host_int_get_MacAddress (struct host_if_drv *hWFIDrv,u8 *pu8MacAddress); +int host_int_get_MacAddress (struct host_if_drv *hWFIDrv,u8 *pu8MacAddress);/** * @brief sets mac address
Signature · 1 line
2.6.1
PATCH 9/33 staging: wilc1000: fix return type of host_int_set_MacAddress
In reply to Chaehyun LimThis patch changes return type of host_int_set_MacAddress from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type by int as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -3518,9 +3518,9 @@ int host_int_get_MacAddress(struct host_if_drv *hif_drv, u8 *pu8MacAddress)return s32Error; } -s32 host_int_set_MacAddress (struct host_if_drv *hif_drv,u8 *pu8MacAddress) +int host_int_set_MacAddress (struct host_if_drv *hif_drv,u8 *pu8MacAddress) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;PRINT_D (GENERIC_DBG ,"mac addr = %x:%x:%x\n" , pu8MacAddress[0 ], pu8MacAddress[1 ], pu8MacAddress[2 ]);
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -599,7 +599,7 @@ int host_int_get_MacAddress(struct host_if_drv *hWFIDrv, u8 *pu8MacAddress);* @date 16 July 2012 * @version 1.0 */ -s32 host_int_set_MacAddress (struct host_if_drv *hWFIDrv,u8 *pu8MacAddress); +int host_int_set_MacAddress (struct host_if_drv *hWFIDrv,u8 *pu8MacAddress);/** * @brief wait until msg q is empty
Signature · 1 line
2.6.1
PATCH 10/33 staging: wilc1000: fix return type of host_int_set_join_req
In reply to Chaehyun LimThis patch changes return type of host_int_set_join_req from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type by int as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -3575,14 +3575,14 @@ s32 host_int_get_start_scan_req(struct host_if_drv *hif_drv, u8 *pu8ScanSource)return 0 ; } -s32 host_int_set_join_req (struct host_if_drv *hif_drv,u8 *pu8bssid, +int host_int_set_join_req (struct host_if_drv *hif_drv,u8 *pu8bssid,const u8 *pu8ssid,size_t ssidLen,const u8 *pu8IEs,size_t IEsLen,wilc_connect_result pfConnectResult,void *pvUserArg,u8 u8security,enum AUTHTYPE tenuAuth_type,u8 u8channel,void *pJoinParams) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;enum scan_conn_timer enuScanConnTimer;
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -660,7 +660,7 @@ s32 host_int_get_start_scan_req(struct host_if_drv *hWFIDrv, u8 *pu8ScanSource);* @version 1.0 */ -s32 host_int_set_join_req(struct host_if_drv *hWFIDrv, u8 *pu8bssid, +int host_int_set_join_req(struct host_if_drv *hWFIDrv, u8 *pu8bssid, const u8 *pu8ssid, size_t ssidLen, const u8 *pu8IEs, size_t IEsLen, wilc_connect_result pfConnectResult, void *pvUserArg,
Signature · 1 line
2.6.1
PATCH 11/33 staging: wilc1000: fix return type of host_int_flush_join_req
In reply to Chaehyun LimThis patch changes return type of host_int_flush_join_req from s32 to int. s32Error gets value from wilc_mq_send that has return type of int. It should be changed return type of int as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -3644,9 +3644,9 @@ int host_int_set_join_req(struct host_if_drv *hif_drv, u8 *pu8bssid,return s32Error; } -s32 host_int_flush_join_req (struct host_if_drv *hif_drv) +int host_int_flush_join_req (struct host_if_drv *hif_drv) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;if (!gu8FlushedJoinReq) {
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -680,7 +680,7 @@ int host_int_set_join_req(struct host_if_drv *hWFIDrv, u8 *pu8bssid,* @version 8.0 */ -s32 host_int_flush_join_req (struct host_if_drv *hWFIDrv); +int host_int_flush_join_req (struct host_if_drv *hWFIDrv);/**
Signature · 1 line
2.6.1
PATCH 12/33 staging: wilc1000: fix return type of host_int_disconnect
In reply to Chaehyun LimThis patch changes return type of host_int_disconnect from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type of int as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -3673,9 +3673,9 @@ int host_int_flush_join_req(struct host_if_drv *hif_drv)return s32Error; } -s32 host_int_disconnect (struct host_if_drv *hif_drv,u16 u16ReasonCode) +int host_int_disconnect (struct host_if_drv *hif_drv,u16 u16ReasonCode) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;if (!hif_drv) {
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -694,7 +694,7 @@ int host_int_flush_join_req(struct host_if_drv *hWFIDrv);* @date 8 March 2012 * @version 1.0 */ -s32 host_int_disconnect (struct host_if_drv *hWFIDrv,u16 u16ReasonCode); +int host_int_disconnect (struct host_if_drv *hWFIDrv,u16 u16ReasonCode);/** * @brief disconnects a sta
Signature · 1 line
2.6.1
PATCH 13/33 staging: wilc1000: fix return type of host_int_get_host_chnl_num
In reply to Chaehyun LimThis patch changes return type of host_int_get_host_chnl_num from s32 to int. s32Error gets return value from wilc_mq_send that has retun type of int. It should be changed return type of int as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -3844,9 +3844,9 @@ int host_int_set_operation_mode(struct host_if_drv *hif_drv, u32 mode)return result; } -s32 host_int_get_host_chnl_num (struct host_if_drv *hif_drv,u8 *pu8ChNo) +int host_int_get_host_chnl_num (struct host_if_drv *hif_drv,u8 *pu8ChNo) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;if (!hif_drv) {
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -800,7 +800,7 @@ int host_int_set_mac_chnl_num(struct host_if_drv *wfi_drv, u8 channel);* @date 8 March 2012 * @version 1.0 */ -s32 host_int_get_host_chnl_num (struct host_if_drv *hWFIDrv,u8 *pu8ChNo); +int host_int_get_host_chnl_num (struct host_if_drv *hWFIDrv,u8 *pu8ChNo);/** * @brief gets the sta rssi * @details gets the currently maintained RSSI value for the station.
Signature · 1 line
2.6.1
PATCH 14/33 staging: wilc1000: fix return type of host_int_get_rssi
In reply to Chaehyun LimThis patch changes return type of host_int_get_rssi from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type of int as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -3932,9 +3932,9 @@ s32 host_int_test_get_int_wid(struct host_if_drv *hif_drv, u32 *pu32TestMemAddr)return s32Error; } -s32 host_int_get_rssi (struct host_if_drv *hif_drv,s8 *ps8Rssi) +int host_int_get_rssi (struct host_if_drv *hif_drv,s8 *ps8Rssi) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;memset (&msg,0 ,sizeof (struct host_if_msg ));
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -814,7 +814,7 @@ int host_int_get_host_chnl_num(struct host_if_drv *hWFIDrv, u8 *pu8ChNo);* @date 8 March 2012 * @version 1.0 */ -s32 host_int_get_rssi (struct host_if_drv *hWFIDrv,s8 *ps8Rssi); +int host_int_get_rssi (struct host_if_drv *hWFIDrv,s8 *ps8Rssi);s32 host_int_get_link_speed (struct host_if_drv *hWFIDrv,s8 *ps8lnkspd);/** * @brief scans a set of channels
Signature · 1 line
2.6.1
PATCH 15/33 staging: wilc1000: fix return type of host_int_get_link_speed
In reply to Chaehyun LimThis patch changes return type of host_int_get_link_speed from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type of int as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -3962,10 +3962,10 @@ int host_int_get_rssi(struct host_if_drv *hif_drv, s8 *ps8Rssi)return s32Error; } -s32 host_int_get_link_speed (struct host_if_drv *hif_drv,s8 *ps8lnkspd) +int host_int_get_link_speed (struct host_if_drv *hif_drv,s8 *ps8lnkspd) {struct host_if_msg msg; -s32 s32Error =0 ; +int s32Error =0 ;memset (&msg,0 ,sizeof (struct host_if_msg )); msg.id =HOST_IF_MSG_GET_LINKSPEED ;
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -815,7 +815,7 @@ int host_int_get_host_chnl_num(struct host_if_drv *hWFIDrv, u8 *pu8ChNo);* @version 1.0 */ int host_int_get_rssi (struct host_if_drv *hWFIDrv,s8 *ps8Rssi); -s32 host_int_get_link_speed (struct host_if_drv *hWFIDrv,s8 *ps8lnkspd); +int host_int_get_link_speed (struct host_if_drv *hWFIDrv,s8 *ps8lnkspd);/** * @brief scans a set of channels * @details
Signature · 1 line
2.6.1
PATCH 16/33 staging: wilc1000: fix return type of host_int_get_statistics
In reply to Chaehyun LimThis patch changes return type of host_int_get_statistics from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -3992,9 +3992,9 @@ int host_int_get_link_speed(struct host_if_drv *hif_drv, s8 *ps8lnkspd)return s32Error; } -s32 host_int_get_statistics (struct host_if_drv *hif_drv,struct rf_info *pstrStatistics) +int host_int_get_statistics (struct host_if_drv *hif_drv,struct rf_info *pstrStatistics) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;memset (&msg,0 ,sizeof (struct host_if_msg ));
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -1158,6 +1158,6 @@ static s32 Handle_ScanDone(struct host_if_drv *drvHandler, enum scan_event enuEvvoid host_int_freeJoinParams (void *pJoinParams); -s32 host_int_get_statistics (struct host_if_drv *hWFIDrv,struct rf_info *pstrStatistics); +int host_int_get_statistics (struct host_if_drv *hWFIDrv,struct rf_info *pstrStatistics);#endif
Signature · 1 line
2.6.1
PATCH 17/33 staging: wilc1000: fix return type of host_int_frame_register
In reply to Chaehyun LimThis patch changes return type of host_int_frame_register from s32 to int. s32Error gets return value of wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -4570,9 +4570,9 @@ s32 host_int_ListenStateExpired(struct host_if_drv *hif_drv, u32 u32SessionID)return s32Error; } -s32 host_int_frame_register (struct host_if_drv *hif_drv,u16 u16FrameType,bool bReg) +int host_int_frame_register (struct host_if_drv *hif_drv,u16 u16FrameType,bool bReg) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;if (!hif_drv) {
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -1141,7 +1141,7 @@ s32 host_int_ListenStateExpired(struct host_if_drv *hWFIDrv, u32 u32SessionID);* @date * @version 1.0 */ -s32 host_int_frame_register (struct host_if_drv *hWFIDrv,u16 u16FrameType,bool bReg); +int host_int_frame_register (struct host_if_drv *hWFIDrv,u16 u16FrameType,bool bReg);/** * @brief host_int_set_wfi_drv_handler * @details
Signature · 1 line
2.6.1
PATCH 18/33 staging: wilc1000: fix return type of host_int_ListenStateExpired
In reply to Chaehyun LimThis patch changes return type of host_int_ListenStateExpired from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -4546,9 +4546,9 @@ s32 host_int_remain_on_channel(struct host_if_drv *hif_drv, u32 u32SessionID,return s32Error; } -s32 host_int_ListenStateExpired (struct host_if_drv *hif_drv,u32 u32SessionID) +int host_int_ListenStateExpired (struct host_if_drv *hif_drv,u32 u32SessionID) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;if (!hif_drv) {
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -1130,7 +1130,7 @@ s32 host_int_remain_on_channel(struct host_if_drv *hWFIDrv, u32 u32SessionID, u3* @date * @version 1.0 */ -s32 host_int_ListenStateExpired (struct host_if_drv *hWFIDrv,u32 u32SessionID); +int host_int_ListenStateExpired (struct host_if_drv *hWFIDrv,u32 u32SessionID);/** * @brief host_int_frame_register
Signature · 1 line
2.6.1
PATCH 19/33 staging: wilc1000: fix return type of host_int_remain_on_channel
In reply to Chaehyun LimThis patch changes return type of host_int_remain_on_channel from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -4514,13 +4514,13 @@ void host_int_ScanCompleteReceived(u8 *pu8Buffer, u32 u32Length) } -s32 host_int_remain_on_channel (struct host_if_drv *hif_drv,u32 u32SessionID, +int host_int_remain_on_channel (struct host_if_drv *hif_drv,u32 u32SessionID,u32 u32duration,u16 chan,wilc_remain_on_chan_expired RemainOnChanExpired,wilc_remain_on_chan_ready RemainOnChanReady,void *pvUserArg) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;if (!hif_drv) {
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -1114,7 +1114,7 @@ s32 host_int_get_ipaddress(struct host_if_drv *hWFIDrv, u8 *pu8IPAddr, u8 idx);* @date * @version 1.0 */ -s32 host_int_remain_on_channel (struct host_if_drv *hWFIDrv,u32 u32SessionID,u32 u32duration,u16 chan,wilc_remain_on_chan_expired RemainOnChanExpired,wilc_remain_on_chan_ready RemainOnChanReady,void *pvUserArg); +int host_int_remain_on_channel (struct host_if_drv *hWFIDrv,u32 u32SessionID,u32 u32duration,u16 chan,wilc_remain_on_chan_expired RemainOnChanExpired,wilc_remain_on_chan_ready RemainOnChanReady,void *pvUserArg);/** * @brief host_int_ListenStateExpired
Signature · 1 line
2.6.1
PATCH 20/33 staging: wilc1000: fix return type of host_int_get_ipaddress
In reply to Chaehyun LimThis patch changes return type of host_int_get_ipaddress from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -5164,9 +5164,9 @@ s32 host_int_setup_ipaddress(struct host_if_drv *hif_drv, u8 *u16ipadd, u8 idx) } -s32 host_int_get_ipaddress (struct host_if_drv *hif_drv,u8 *u16ipadd,u8 idx) +int host_int_get_ipaddress (struct host_if_drv *hif_drv,u8 *u16ipadd,u8 idx) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;if (!hif_drv) {
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -1103,7 +1103,7 @@ s32 host_int_del_All_Rx_BASession(struct host_if_drv *hWFIDrv, char *pBSSID, cha* @date * @version 1.0 */ -s32 host_int_get_ipaddress (struct host_if_drv *hWFIDrv,u8 *pu8IPAddr,u8 idx); +int host_int_get_ipaddress (struct host_if_drv *hWFIDrv,u8 *pu8IPAddr,u8 idx);/** * @brief host_int_remain_on_channel
Signature · 1 line
2.6.1
PATCH 21/33 staging: wilc1000: fix return type of host_int_setup_ipaddress
In reply to Chaehyun LimThis patch changes return type of host_int_setup_ipaddress from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -5135,9 +5135,9 @@ s32 host_int_del_All_Rx_BASession(struct host_if_drv *hif_drv,return s32Error; } -s32 host_int_setup_ipaddress (struct host_if_drv *hif_drv,u8 *u16ipadd,u8 idx) +int host_int_setup_ipaddress (struct host_if_drv *hif_drv,u8 *u16ipadd,u8 idx) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;return 0 ;
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -1068,7 +1068,7 @@ s32 host_int_setup_multicast_filter(struct host_if_drv *hWFIDrv, bool bIsEnabled* @date * @version 1.0 */ -s32 host_int_setup_ipaddress (struct host_if_drv *hWFIDrv,u8 *pu8IPAddr,u8 idx); +int host_int_setup_ipaddress (struct host_if_drv *hWFIDrv,u8 *pu8IPAddr,u8 idx);/**
Signature · 1 line
2.6.1
PATCH 22/33 staging: wilc1000: fix return type of host_int_del_All_Rx_BASession
In reply to Chaehyun LimThis patch changes return type of host_int_del_All_Rx_BASession from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -5105,11 +5105,11 @@ s32 host_int_delBASession(struct host_if_drv *hif_drv, char *pBSSID, char TID)return s32Error; } -s32 host_int_del_All_Rx_BASession (struct host_if_drv *hif_drv, +int host_int_del_All_Rx_BASession (struct host_if_drv *hif_drv,char *pBSSID,char TID ) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;struct ba_session_info *pBASessionInfo = &msg.body.session_info;
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -1091,7 +1091,7 @@ s32 host_int_delBASession(struct host_if_drv *hWFIDrv, char *pBSSID, char TID);* @date * @version 1.0 */ -s32 host_int_del_All_Rx_BASession (struct host_if_drv *hWFIDrv,char *pBSSID,char TID ); +int host_int_del_All_Rx_BASession (struct host_if_drv *hWFIDrv,char *pBSSID,char TID );/**
Signature · 1 line
2.6.1
PATCH 23/33 staging: wilc1000: fix return type of host_int_delBASession
In reply to Chaehyun LimThis patch changes return type of host_int_delBASession from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -5077,9 +5077,9 @@ void host_int_freeJoinParams(void *pJoinParams)PRINT_ER ("Unable to FREE null pointer\n" ); } -s32 host_int_delBASession (struct host_if_drv *hif_drv,char *pBSSID,char TID ) +int host_int_delBASession (struct host_if_drv *hif_drv,char *pBSSID,char TID ) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;struct ba_session_info *pBASessionInfo = &msg.body.session_info;
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -1080,7 +1080,7 @@ int host_int_setup_ipaddress(struct host_if_drv *hWFIDrv, u8 *pu8IPAddr, u8 idx)* @date * @version 1.0 */ -s32 host_int_delBASession (struct host_if_drv *hWFIDrv,char *pBSSID,char TID ); +int host_int_delBASession (struct host_if_drv *hWFIDrv,char *pBSSID,char TID );/** * @brief host_int_delBASession
Signature · 1 line
2.6.1
PATCH 24/33 staging: wilc1000: fix return type of host_int_setup_multicast_filter
In reply to Chaehyun LimThis patch changes return type of host_int_setup_multicast_filter from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -4879,11 +4879,11 @@ s32 host_int_set_power_mgmt(struct host_if_drv *hif_drv,return s32Error; } -s32 host_int_setup_multicast_filter (struct host_if_drv *hif_drv, +int host_int_setup_multicast_filter (struct host_if_drv *hif_drv,bool bIsEnabled,u32 u32count) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;struct set_multicast *pstrMulticastFilterParam = &msg.body.multicast_info;
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -1058,7 +1058,7 @@ s32 host_int_set_power_mgmt(struct host_if_drv *hWFIDrv, bool bIsEnabled, u32 u3* @date 24 November 2012 * @version 1.0 Description */ -s32 host_int_setup_multicast_filter (struct host_if_drv *hWFIDrv,bool bIsEnabled,u32 u32count); +int host_int_setup_multicast_filter (struct host_if_drv *hWFIDrv,bool bIsEnabled,u32 u32count);/** * @brief host_int_setup_ipaddress * @details set IP address on firmware
Signature · 1 line
2.6.1
PATCH 25/33 staging: wilc1000: fix return type of host_int_set_power_mgmt
In reply to Chaehyun LimThis patch changes return type of host_int_set_power_mgmt from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -4848,11 +4848,11 @@ s32 host_int_edit_station(struct host_if_drv *hif_drv,return s32Error; } -s32 host_int_set_power_mgmt (struct host_if_drv *hif_drv, +int host_int_set_power_mgmt (struct host_if_drv *hif_drv,bool bIsEnabled,u32 u32Timeout) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;struct power_mgmt_param *pstrPowerMgmtParam = &msg.body.pwr_mgmt_info;
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -1046,7 +1046,7 @@ s32 host_int_edit_station(struct host_if_drv *hWFIDrv,* @date 24 November 2012 * @version 1.0 Description */ -s32 host_int_set_power_mgmt (struct host_if_drv *hWFIDrv,bool bIsEnabled,u32 u32Timeout); +int host_int_set_power_mgmt (struct host_if_drv *hWFIDrv,bool bIsEnabled,u32 u32Timeout);/* @param[in,out] hWFIDrv handle to the wifi driver * @param[in] bIsEnabled TRUE if enabled, FALSE otherwise * @param[in] u8count count of mac address entries in the filter table
Signature · 1 line
2.6.1
PATCH 26/33 staging: wilc1000: fix return type of host_int_edit_station
In reply to Chaehyun LimThis patch changes return type of host_int_edit_station from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -4811,10 +4811,10 @@ s32 host_int_del_allstation(struct host_if_drv *hif_drv, } -s32 host_int_edit_station (struct host_if_drv *hif_drv, +int host_int_edit_station (struct host_if_drv *hif_drv,struct add_sta_param *pstrStaParams) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;struct add_sta_param *pstrAddStationMsg = &msg.body.add_sta_info;
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -1028,7 +1028,7 @@ s32 host_int_del_station(struct host_if_drv *hWFIDrv, const u8 *pu8MacAddr);* @date 15 July 2012 * @version 1.0 Description */ -s32 host_int_edit_station (struct host_if_drv *hWFIDrv, +int host_int_edit_station (struct host_if_drv *hWFIDrv,struct add_sta_param *pstrStaParams);/*!
Signature · 1 line
2.6.1
PATCH 27/33 staging: wilc1000: fix return type of host_int_del_allstation
In reply to Chaehyun LimThis patch changes return type of host_int_del_allstation from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -4757,10 +4757,10 @@ s32 host_int_del_station(struct host_if_drv *hif_drv, const u8 *pu8MacAddr)return s32Error; } -s32 host_int_del_allstation (struct host_if_drv *hif_drv, +int host_int_del_allstation (struct host_if_drv *hif_drv,u8 pu8MacAddr[][ETH_ALEN ]) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;struct del_all_sta *pstrDelAllStationMsg = &msg.body.del_all_sta_info;u8 au8Zero_Buff[ETH_ALEN ] = {0 };
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -997,7 +997,7 @@ s32 host_int_add_station(struct host_if_drv *hWFIDrv,* @date 09 April 2014 * @version 1.0 Description */ -s32 host_int_del_allstation (struct host_if_drv *hWFIDrv,u8 pu8MacAddr[][ETH_ALEN ]); +int host_int_del_allstation (struct host_if_drv *hWFIDrv,u8 pu8MacAddr[][ETH_ALEN ]);/*! * @fn s32 host_int_del_station(WILC_WFIDrvHandle hWFIDrv, u8* pu8MacAddr)
Signature · 1 line
2.6.1
PATCH 28/33 staging: wilc1000: fix return type of host_int_del_station
In reply to Chaehyun LimThis patch changes return type of host_int_del_station from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -4728,9 +4728,9 @@ s32 host_int_add_station(struct host_if_drv *hif_drv,return s32Error; } -s32 host_int_del_station (struct host_if_drv *hif_drv,const u8 *pu8MacAddr) +int host_int_del_station (struct host_if_drv *hif_drv,const u8 *pu8MacAddr) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;struct del_sta *pstrDelStationMsg = &msg.body.del_sta_info;
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -1012,7 +1012,7 @@ int host_int_del_allstation(struct host_if_drv *hWFIDrv, u8 pu8MacAddr[][ETH_ALE* @date 15 July 2012 * @version 1.0 Description */ -s32 host_int_del_station (struct host_if_drv *hWFIDrv,const u8 *pu8MacAddr); +int host_int_del_station (struct host_if_drv *hWFIDrv,const u8 *pu8MacAddr);/*! * @fn s32 host_int_edit_station(WILC_WFIDrvHandle hWFIDrv,
Signature · 1 line
2.6.1
PATCH 29/33 staging: wilc1000: fix return type of host_int_add_station
In reply to Chaehyun LimThis patch changes return type of host_int_add_station from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -4690,10 +4690,10 @@ s32 host_int_del_beacon(struct host_if_drv *hif_drv)return s32Error; } -s32 host_int_add_station (struct host_if_drv *hif_drv, +int host_int_add_station (struct host_if_drv *hif_drv,struct add_sta_param *pstrStaParams) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;struct add_sta_param *pstrAddStationMsg = &msg.body.add_sta_info;
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -981,7 +981,7 @@ s32 host_int_del_beacon(struct host_if_drv *hWFIDrv);* @date 12 July 2012 * @version 1.0 Description */ -s32 host_int_add_station (struct host_if_drv *hWFIDrv, +int host_int_add_station (struct host_if_drv *hWFIDrv,struct add_sta_param *pstrStaParams);/*!
Signature · 1 line
2.6.1
PATCH 30/33 staging: wilc1000: fix return type of host_int_del_beacon
In reply to Chaehyun LimThis patch changes return type of host_int_del_beacon from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -4669,9 +4669,9 @@ ERRORHANDLER: } -s32 host_int_del_beacon (struct host_if_drv *hif_drv) +int host_int_del_beacon (struct host_if_drv *hif_drv) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;if (!hif_drv) {
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -965,7 +965,7 @@ s32 host_int_add_beacon(struct host_if_drv *hWFIDrv, u32 u32Interval,* @date 10 Julys 2012 * @version 1.0 Description */ -s32 host_int_del_beacon (struct host_if_drv *hWFIDrv); +int host_int_del_beacon (struct host_if_drv *hWFIDrv);/*! * @fn s32 host_int_add_station(WILC_WFIDrvHandle hWFIDrv,
Signature · 1 line
2.6.1
PATCH 31/33 staging: wilc1000: fix return type of host_int_add_beacon
In reply to Chaehyun LimThis patch changes return type of host_int_add_beacon from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -4611,11 +4611,11 @@ int host_int_frame_register(struct host_if_drv *hif_drv, u16 u16FrameType, bool } -s32 host_int_add_beacon (struct host_if_drv *hif_drv,u32 u32Interval, +int host_int_add_beacon (struct host_if_drv *hif_drv,u32 u32Interval,u32 u32DTIMPeriod,u32 u32HeadLen,u8 *pu8Head,u32 u32TailLen,u8 *pu8Tail) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;struct beacon_attr *pstrSetBeaconParam = &msg.body.beacon_info;
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -947,7 +947,7 @@ s32 host_int_deinit(struct host_if_drv *hWFIDrv);* @version 1.0 Description * */ -s32 host_int_add_beacon (struct host_if_drv *hWFIDrv,u32 u32Interval, +int host_int_add_beacon (struct host_if_drv *hWFIDrv,u32 u32Interval,u32 u32DTIMPeriod,u32 u32HeadLen,u8 *pu8Head,u32 u32TailLen,u8 *pu8tail);
Signature · 1 line
2.6.1
PATCH 32/33 staging: wilc1000: fix return type of host_int_scan
In reply to Chaehyun LimThis patch changes return type of host_int_scan from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -4012,13 +4012,13 @@ int host_int_get_statistics(struct host_if_drv *hif_drv, struct rf_info *pstrStareturn s32Error; } -s32 host_int_scan (struct host_if_drv *hif_drv,u8 u8ScanSource, +int host_int_scan (struct host_if_drv *hif_drv,u8 u8ScanSource,u8 u8ScanType,u8 *pu8ChnlFreqList,u8 u8ChnlListLen,const u8 *pu8IEs,size_t IEsLen,wilc_scan_result ScanResult,void *pvUserArg,struct hidden_network *pstrHiddenNetwork) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;enum scan_conn_timer enuScanConnTimer;
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -833,7 +833,7 @@ int host_int_get_link_speed(struct host_if_drv *hWFIDrv, s8 *ps8lnkspd);* @date 8 March 2012 * @version 1.0 */ -s32 host_int_scan(struct host_if_drv *hWFIDrv, u8 u8ScanSource, +int host_int_scan(struct host_if_drv *hWFIDrv, u8 u8ScanSource, u8 u8ScanType, u8 *pu8ChnlFreqList, u8 u8ChnlListLen, const u8 *pu8IEs, size_t IEsLen, wilc_scan_result ScanResult,
Signature · 1 line
2.6.1
PATCH 33/33 staging: wilc1000: fix return type of hif_set_cfg
In reply to Chaehyun LimThis patch changes return type of hif_set_cfg from s32 to int. s32Error gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of s32Error.
--- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/host_interface.c +2 -2
@@ -4068,11 +4068,11 @@ int host_int_scan(struct host_if_drv *hif_drv, u8 u8ScanSource, } -s32 hif_set_cfg (struct host_if_drv *hif_drv, +int hif_set_cfg (struct host_if_drv *hif_drv,struct cfg_param_val *pstrCfgParamVal) { -s32 s32Error =0 ; +int s32Error =0 ;struct host_if_msg msg;
drivers/staging/wilc1000/host_interface.h +1 -1
@@ -850,7 +850,7 @@ int host_int_scan(struct host_if_drv *hWFIDrv, u8 u8ScanSource,* @date 8 March 2012 * @version 1.0 */ -s32 hif_set_cfg (struct host_if_drv *hWFIDrv,struct cfg_param_val *pstrCfgParamVal); +int hif_set_cfg (struct host_if_drv *hWFIDrv,struct cfg_param_val *pstrCfgParamVal);/** * @brief gets configuration wids values
Signature · 1 line
2.6.1