This patch fix spelling typo in host_interface.c
Signed-off-by: Masanari Iida
---
drivers/staging/wilc1000/host_interface.c | 30 +++---
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/drivers/staging/wilc1000/host_interface.c
b/drivers/staging/wilc1000/host_interface.c
index d5b7725..b9f9541 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -581,7 +581,7 @@ static s32 handle_cfg_param(struct host_if_drv *hif_drv,
wid_list[wid_cnt].size = sizeof(char);
hif_drv->cfg_values.power_mgmt_mode =
(u8)cfg_param_attr->cfg_attr_info.power_mgmt_mode;
} else {
- PRINT_ER("Invalide power mode\n");
+ PRINT_ER("Invalid power mode\n");
result = -EINVAL;
goto ERRORHANDLER;
}
@@ -655,7 +655,7 @@ static s32 handle_cfg_param(struct host_if_drv *hif_drv,
wid_list[wid_cnt].size = sizeof(char);
hif_drv->cfg_values.preamble_type =
cfg_param_attr->cfg_attr_info.preamble_type;
} else {
- PRINT_ER("Preamle Range(0~2) over\n");
+ PRINT_ER("Preamble Range(0~2) over\n");
result = -EINVAL;
goto ERRORHANDLER;
}
@@ -844,7 +844,7 @@ static s32 Handle_Scan(struct host_if_drv *hif_drv,
}
if (g_obtainingIP || connecting) {
- PRINT_D(GENERIC_DBG, "[handle_scan]: Don't do obss scan until
IP adresss is obtained\n");
+ PRINT_D(GENERIC_DBG, "[handle_scan]: Don't do obss scan until
IP addresses is obtained\n");
PRINT_ER("Don't do obss scan\n");
result = -EBUSY;
goto ERRORHANDLER;
@@ -924,7 +924,7 @@ static s32 Handle_Scan(struct host_if_drv *hif_drv,
get_id_from_handler(hif_drv));
if (result)
- PRINT_ER("Failed to send scan paramters config packet\n");
+ PRINT_ER("Failed to send scan parameters config packet\n");
else
PRINT_D(HOSTINF_DBG, "Successfully sent SCAN params config
packet\n");
@@ -1379,7 +1379,7 @@ static s32 Handle_ConnectTimeout(struct host_if_drv
*hif_drv)
result = send_config_pkt(SET_CFG, , 1,
get_id_from_handler(hif_drv));
if (result)
- PRINT_ER("Failed to send dissconect config packet\n");
+ PRINT_ER("Failed to send disconnect config packet\n");
hif_drv->usr_conn_req.ssid_len = 0;
kfree(hif_drv->usr_conn_req.pu8ssid);
@@ -1529,12 +1529,12 @@ static s32 Handle_RcvdGnrlAsyncInfo(struct host_if_drv
*hif_drv,
u8MacStatus = pstrRcvdGnrlAsyncInfo->buffer[7];
u8MacStatusReasonCode = pstrRcvdGnrlAsyncInfo->buffer[8];
u8MacStatusAdditionalInfo = pstrRcvdGnrlAsyncInfo->buffer[9];
- PRINT_INFO(HOSTINF_DBG, "Recieved MAC status = %d with Reason =
%d , Info = %d\n", u8MacStatus, u8MacStatusReasonCode,
u8MacStatusAdditionalInfo);
+ PRINT_INFO(HOSTINF_DBG, "Received MAC status = %d with Reason =
%d , Info = %d\n", u8MacStatus, u8MacStatusReasonCode,
u8MacStatusAdditionalInfo);
if (hif_drv->hif_state == HOST_IF_WAITING_CONN_RESP) {
u32 u32RcvdAssocRespInfoLen;
tstrConnectRespInfo *pstrConnectRespInfo = NULL;
- PRINT_D(HOSTINF_DBG, "Recieved MAC status = %d with
Reason = %d , Code = %d\n", u8MacStatus, u8MacStatusReasonCode,
u8MacStatusAdditionalInfo);
+ PRINT_D(HOSTINF_DBG, "Received MAC status = %d with
Reason = %d , Code = %d\n", u8MacStatus, u8MacStatusReasonCode,
u8MacStatusAdditionalInfo);
memset(, 0, sizeof(tstrConnectInfo));
@@ -1998,7 +1998,7 @@ static void Handle_Disconnect(struct host_if_drv *hif_drv)
get_id_from_handler(hif_drv));
if (result) {
- PRINT_ER("Failed to send dissconect config packet\n");
+ PRINT_ER("Failed to send disconnect config packet\n");
} else {
tstrDisconnectNotifInfo strDisconnectNotifInfo;
@@ -2179,7 +2179,7 @@ s32 Handle_GetStatistics(struct host_if_drv *hif_drv,
struct rf_info *pstrStatis
get_id_from_handler(hif_drv));
if (result)
- PRINT_ER("Failed to send scan paramters config packet\n");
+ PRINT_ER("Failed to send scan parameters config packet\n");
up(_sema_wait_response);
return 0;
@@ -2206,7 +2206,7 @@ static s32 Handle_Get_InActiveTime(struct host_if_drv
*hif_drv,
get_id_from_handler(hif_drv));
if (result) {
-