staging: wilc1000: Fix typo in wilc_msgqueue.h
PATCH 1/4 staging: wilc1000: Fix typo in wilc_msgqueue.h
This patch fix some spelling typo in wilc_msgqueue.h
--- drivers/staging/wilc1000/wilc_msgqueue.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/staging/wilc1000/wilc_msgqueue.h +6 -6
@@ -35,7 +35,7 @@ typedef struct __MessageQueue_struct {* any other message queue having the same name in the system * @param[in,out] pHandle handle to the message queue object * @param[in] pstrAttrs Optional attributes, NULL for default -* @return Error code indicating sucess/failure +* @return Error code indicating success/failure * @author syounan * @date 30 Aug 2010 * @version 1.0
@@ -44,7 +44,7 @@ int wilc_mq_create(WILC_MsgQueueHandle *pHandle);/*! * @brief Sends a message -* @details Sends a message, this API will block unil the message is +* @details Sends a message, this API will block until the message is * actually sent or until it is timedout (as long as the feature * CONFIG_WILC_MSG_QUEUE_TIMEOUT is enabled and pstrAttrs->u32Timeout * is not set to WILC_OS_INFINITY), zero timeout is a valid value
@@ -52,7 +52,7 @@ int wilc_mq_create(WILC_MsgQueueHandle *pHandle);* @param[in] pvSendBuffer pointer to the data to send * @param[in] u32SendBufferSize the size of the data to send * @param[in] pstrAttrs Optional attributes, NULL for default -* @return Error code indicating sucess/failure +* @return Error code indicating success/failure * @author syounan * @date 30 Aug 2010 * @version 1.0
@@ -62,7 +62,7 @@ int wilc_mq_send(WILC_MsgQueueHandle *pHandle,/*! * @brief Receives a message -* @details Receives a message, this API will block unil a message is +* @details Receives a message, this API will block until a message is * received or until it is timedout (as long as the feature * CONFIG_WILC_MSG_QUEUE_TIMEOUT is enabled and pstrAttrs->u32Timeout * is not set to WILC_OS_INFINITY), zero timeout is a valid value
@@ -71,7 +71,7 @@ int wilc_mq_send(WILC_MsgQueueHandle *pHandle,* @param[in] u32RecvBufferSize the size of the receive buffer * @param[out] pu32ReceivedLength the length of received data * @param[in] pstrAttrs Optional attributes, NULL for default -* @return Error code indicating sucess/failure +* @return Error code indicating success/failure * @author syounan * @date 30 Aug 2010 * @version 1.0
@@ -84,7 +84,7 @@ int wilc_mq_recv(WILC_MsgQueueHandle *pHandle,* @brief Destroys an existing Message queue * @param[in] pHandle handle to the message queue object * @param[in] pstrAttrs Optional attributes, NULL for default -* @return Error code indicating sucess/failure +* @return Error code indicating success/failure * @author syounan * @date 30 Aug 2010 * @version 1.0
Signature · 1 line
2.6.3.379.g0c83680
PATCH 2/4 staging: wilc1000: Fix typo in host_interface.c
This patch fix spelling typo in host_interface.c
--- drivers/staging/wilc1000/host_interface.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-)
drivers/staging/wilc1000/host_interface.c +15 -15
@@ -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 , &wid,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 (&strConnectInfo,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 (&hif_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) { -PRINT_ER ("Failed to SET incative time\n" ); +PRINT_ER ("Failed to SET inactive time\n" );return -EFAULT ; }
@@ -2219,7 +2219,7 @@ static s32 Handle_Get_InActiveTime(struct host_if_drv *hif_drv, get_id_from_handler(hif_drv));if (result) { -PRINT_ER ("Failed to get incative time\n" ); +PRINT_ER ("Failed to get inactive time\n" );return -EFAULT ; }
@@ -2518,7 +2518,7 @@ static int Handle_RemainOnChan(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" ); result = -EBUSY ; goto ERRORHANDLER; }
@@ -4141,7 +4141,7 @@ s32 host_int_init(struct net_device *dev, struct host_if_drv **hif_drv_handler) result =wilc_mq_create (&hif_msg_q);if (result <0 ) { -PRINT_ER ("Failed to creat MQ\n" ); +PRINT_ER ("Failed to create MQ\n" ); goto _fail_; }
@@ -4149,7 +4149,7 @@ s32 host_int_init(struct net_device *dev, struct host_if_drv **hif_drv_handler) "WILC_kthread");if (IS_ERR (hif_thread_handler)) { -PRINT_ER ("Failed to creat Thread\n" ); +PRINT_ER ("Failed to create Thread\n" ); result = -EFAULT ; goto _fail_mq_; }
@@ -4319,7 +4319,7 @@ void GnrlAsyncInfoReceived(u8 *pu8Buffer, u32 u32Length) }if (!hif_drv->usr_conn_req.conn_result) { -PRINT_ER ("Received mac status is not needed when there is no current Connect Reques\n" ); +PRINT_ER ("Received mac status is not needed when there is no current Connect Request\n" );up (&hif_sema_deinit);return ; }
Signature · 1 line
2.6.3.379.g0c83680
Re: [PATCH 2/4] staging: wilc1000: Fix typo in host_interface.c
Quoted 12 lines · Masanari Iida
This patch fix spelling typo in
host_interface.cSigned-off-by Masanari Iida <[email protected]>--- drivers/staging/wilc1000/host_interface.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-)drivers/staging/wilc1000/host_interface.c +0
-0
drivers/staging/wilc1000/host_interface.c static s32 Handle_Scan(struct host_if_drv *hif_drv, · line 847
Quoted 5 lines
drivers/staging/wilc1000/host_interface.c +1
-1@@ -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" );
address
drivers/staging/wilc1000/host_interface.c static int Handle_RemainOnChan(struct host_if_drv *hif_drv, · line 2521
Quoted 10 lines
drivers/staging/wilc1000/host_interface.c +1
-1PRINT_ER ("Don't do obss scan\n" ); result = -EBUSY ; goto ERRORHANDLER;@@ -2518,7 +2518,7 @@ static int Handle_RemainOnChan(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" );
address
Quoted 3 lines
drivers/staging/wilc1000/host_interface.c +0
-0result = -EBUSY ; goto ERRORHANDLER; }
Signature · 1 line
~Randy
PATCH 3/4 staging: wilc1000: Fix typo in linux_wlan.c
In reply to Masanari IidaThis patch fix some spelling typo in wilc1000.c.
--- drivers/staging/wilc1000/linux_wlan.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
drivers/staging/wilc1000/linux_wlan.c +8 -8
@@ -130,7 +130,7 @@ static int dev_state_ev_handler(struct notifier_block *this, unsigned long event dev = (struct net_device *)dev_iface->ifa_dev->dev;if (!dev->ieee80211_ptr || !dev->ieee80211_ptr->wiphy) { -PRINT_D (GENERIC_DBG ,"No Wireless registerd\n" ); +PRINT_D (GENERIC_DBG ,"No Wireless registered\n" );return NOTIFY_DONE ; } priv =wiphy_priv (dev->ieee80211_ptr->wiphy);
@@ -346,7 +346,7 @@ struct net_device *get_if_handler(struct wilc *wilc, u8 *mac_header) !memcmp(bssid, wilc->vif[i].bssid, ETH_ALEN))return wilc->vif[i].ndev; -PRINT_INFO (INIT_DBG ,"Invalide handle\n" ); +PRINT_INFO (INIT_DBG ,"Invalid handle\n" );for (i =0 ; i <25 ; i++)PRINT_D (INIT_DBG ,"%02x " , mac_header[i]); bssid = mac_header +18 ;
@@ -500,13 +500,13 @@ int linux_wlan_get_firmware(struct net_device *dev)#ifdef WILC_SDIO if (request_firmware (&wilc_firmware, firmware, &wilc->wilc_sdio_func->dev) !=0 ) { -PRINT_ER ("%s - firmare not available\n" , firmware); +PRINT_ER ("%s - firmware not available\n" , firmware); ret =-1 ; goto _fail_; }#else if (request_firmware (&wilc_firmware, firmware, &wilc->wilc_spidev->dev) !=0 ) { -PRINT_ER ("%s - firmare not available\n" , firmware); +PRINT_ER ("%s - firmware not available\n" , firmware); ret =-1 ; goto _fail_; }
@@ -1155,19 +1155,19 @@ static void wilc_set_multicast_list(struct net_device *dev) dev->mc.count);if (dev->flags &IFF_PROMISC ) { -PRINT_D (INIT_DBG ,"Set promiscuous mode ON, retrive all packets\n" ); +PRINT_D (INIT_DBG ,"Set promiscuous mode ON, retrieve all packets\n" );return ; }if ((dev->flags &IFF_ALLMULTI ) || (dev->mc.count) >WILC_MULTICAST_TABLE_SIZE ) { -PRINT_D (INIT_DBG ,"Disable multicast filter, retrive all multicast packets\n" ); +PRINT_D (INIT_DBG ,"Disable multicast filter, retrieve all multicast packets\n" );host_int_setup_multicast_filter (hif_drv, false,0 );return ; }if ((dev->mc.count) ==0 ) { -PRINT_D (INIT_DBG ,"Enable multicast filter, retrive directed packets only.\n" ); +PRINT_D (INIT_DBG ,"Enable multicast filter, retrieve directed packets only.\n" );host_int_setup_multicast_filter (hif_drv, true,0 );return ; }
@@ -1413,7 +1413,7 @@ void frmw_to_linux(struct wilc *wilc, u8 *buff, u32 size, u32 pkt_offset) skb =dev_alloc_skb (frame_len);if (!skb) { -PRINT_ER ("Low memory - packet droped\n" ); +PRINT_ER ("Low memory - packet dropped\n" );return ; }
Signature · 1 line
2.6.3.379.g0c83680
Re: [PATCH 3/4] staging: wilc1000: Fix typo in linux_wlan.c
Quoted 7 lines · Masanari Iida
This patch fix some spelling typo in
wilc1000.c.Signed-off-by Masanari Iida <[email protected]>--- drivers/staging/wilc1000/linux_wlan.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
Thanks.
Signature · 1 line
~Randy
Greg KH
maintainerRe: [PATCH 3/4] staging: wilc1000: Fix typo in linux_wlan.c
In reply to Masanari IidaQuoted 7 lines · Masanari Iida
This patch fix some spelling typo in
wilc1000.c.Signed-off-by Masanari Iida <[email protected]>Acked-by Randy Dunlap <[email protected]>--- drivers/staging/wilc1000/linux_wlan.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
Please rebase this against my staging-testing branch and resend.
thanks,
greg k-h
PATCH 4/4 staging: wilc1000: Fix typo in wilc_wfi_cfgoperations.c
In reply to Masanari IidaThis patch fix some spelling typo in wilc_wfi_cfgoperations.c
--- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 34 +++++++++++------------ 1 file changed, 17 insertions(+), 17 deletions(-)
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +17 -17
@@ -590,7 +590,7 @@ static void CfgConnectResult(enum conn_event enuConnDisconnEvent, }if (bNeedScanRefresh) { -/*Also, refrsh DIRECT- results if */ +/*Also, refresh DIRECT- results if */ refresh_scan (priv,1 , true); }
@@ -1407,7 +1407,7 @@ static int del_key(struct wiphy *wiphy, struct net_device *netdev,kfree (g_key_gtk_params.seq); g_key_gtk_params.seq =NULL ; -/*Reset WILC_CHANGING_VIR_IF register to allow adding futrue keys to CE H/W*/ +/*Reset WILC_CHANGING_VIR_IF register to allow adding future keys to CE H/W*/ set_machw_change_vir_if (netdev, false); }
@@ -1605,7 +1605,7 @@ static int get_station(struct wiphy *wiphy, struct net_device *dev,static int change_bss (struct wiphy *wiphy,struct net_device *dev,struct bss_parameters *params) { -PRINT_D (CFG80211_DBG ,"Changing Bss parametrs\n" ); +PRINT_D (CFG80211_DBG ,"Changing Bss parameters\n" );return 0 ; }
@@ -1743,7 +1743,7 @@ static int del_pmksa(struct wiphy *wiphy, struct net_device *netdev,if (!memcmp (pmksa->bssid, priv->pmkid_list.pmkidlist[i].bssid,ETH_ALEN )) {/*If bssid is found, reset the values*/ -PRINT_D (CFG80211_DBG ,"Reseting PMKID values\n" ); +PRINT_D (CFG80211_DBG ,"Resetting PMKID values\n" );memset (&priv->pmkid_list.pmkidlist[i],0 ,sizeof (struct host_if_pmkid ));break ; }
@@ -1923,7 +1923,7 @@ void WILC_WFI_p2p_rx (struct net_device *dev, u8 *buff, u32 size)/* Get WILC header */ memcpy (&header, (buff -HOST_HDR_OFFSET ),HOST_HDR_OFFSET ); -/* The packet offset field conain info about what type of managment frame */ +/* The packet offset field contain info about what type of management frame */ /* we are dealing with and ack status */ pkt_offset =GET_PKT_OFFSET (header);
@@ -2001,7 +2001,7 @@ void WILC_WFI_p2p_rx (struct net_device *dev, u8 *buff, u32 size)if ((buff[P2P_PUB_ACTION_SUBTYPE ] ==GO_NEG_REQ || buff[P2P_PUB_ACTION_SUBTYPE ] ==GO_NEG_RSP ) && (bWilc_ie)) { -PRINT_D (GENERIC_DBG ,"Sending P2P to host without extra elemnt\n" ); +PRINT_D (GENERIC_DBG ,"Sending P2P to host without extra element\n" );/* extra attribute for sig_dbm: signal strength in mBm, or 0 if unknown */ cfg80211_rx_mgmt (priv->wdev, s32Freq,0 , buff, size -7 ,0 );return ;
@@ -2283,7 +2283,7 @@ static int mgmt_tx(struct wiphy *wiphy,if (u8P2Plocalrandom > u8P2Precvrandom) {PRINT_D (GENERIC_DBG ,"LOCAL WILL BE GO LocaRand=%02x RecvRand %02x\n" , u8P2Plocalrandom, u8P2Precvrandom); -/*Search for the p2p information information element , after the Public action subtype theres a byte for teh dialog token, skip that*/ +/*Search for the p2p information information element , after the Public action subtype theres a byte for the dialog token, skip that*/ for (i =P2P_PUB_ACTION_SUBTYPE +2 ; i < len; i++) {if (buf[i] ==P2PELEM_ATTR_ID && !(memcmp (u8P2P_oui, &buf[i +2 ],4 ))) {if (buf[P2P_PUB_ACTION_SUBTYPE ] ==P2P_INV_REQ || buf[P2P_PUB_ACTION_SUBTYPE ] ==P2P_INV_RSP )
@@ -2546,7 +2546,7 @@ static int change_virtual_intf(struct wiphy *wiphy, struct net_device *dev, g_obtainingIP = false;del_timer (&hDuringIpTimer);PRINT_D (GENERIC_DBG ,"Changing virtual interface, enable scan\n" ); -/*Set WILC_CHANGING_VIR_IF register to disallow adding futrue keys to CE H/W*/ +/*Set WILC_CHANGING_VIR_IF register to disallow adding future keys to CE H/W*/ if (g_ptk_keys_saved && g_gtk_keys_saved) {set_machw_change_vir_if (dev, true); }
@@ -2564,7 +2564,7 @@ static int change_virtual_intf(struct wiphy *wiphy, struct net_device *dev, nic->monitor_flag =0 ; nic->iftype =STATION_MODE ; -/*Remove the enteries of the previously connected clients*/ +/*Remove the entries of the previously connected clients*/ memset (priv->assoc_stainfo.au8Sta_AssociatedBss,0 ,MAX_NUM_STA *ETH_ALEN ); interface_type = nic->iftype; nic->iftype =STATION_MODE ;
@@ -2599,7 +2599,7 @@ static int change_virtual_intf(struct wiphy *wiphy, struct net_device *dev, g_key_wep_params.key_idx); } -/*No matter the driver handler passed here, it will be overwriiten*/ +/*No matter the driver handler passed here, it will be overwritten*/ /*in Handle_FlushConnect() with gu8FlushedJoinReqDrvHandler*/ host_int_flush_join_req (priv->hWILCWFIDrv);
@@ -2681,7 +2681,7 @@ static int change_virtual_intf(struct wiphy *wiphy, struct net_device *dev, g_key_wep_params.key_idx); } -/*No matter the driver handler passed here, it will be overwriiten*/ +/*No matter the driver handler passed here, it will be overwritten*/ /*in Handle_FlushConnect() with gu8FlushedJoinReqDrvHandler*/ host_int_flush_join_req (priv->hWILCWFIDrv);
@@ -2797,7 +2797,7 @@ static int change_virtual_intf(struct wiphy *wiphy, struct net_device *dev, g_key_wep_params.key_idx); } -/*No matter the driver handler passed here, it will be overwriiten*/ +/*No matter the driver handler passed here, it will be overwritten*/ /*in Handle_FlushConnect() with gu8FlushedJoinReqDrvHandler*/ host_int_flush_join_req (priv->hWILCWFIDrv);
@@ -3107,7 +3107,7 @@ static int change_station(struct wiphy *wiphy, struct net_device *dev,perInterface_wlan_t *nic; -PRINT_D (HOSTAPD_DBG ,"Change station paramters\n" ); +PRINT_D (HOSTAPD_DBG ,"Change station parameters\n" );if (!wiphy)return -EFAULT ;
@@ -3403,14 +3403,14 @@ struct wireless_dev *wilc_create_wiphy(struct net_device *net)/*signal strength in mBm (100*dBm) */ wdev->wiphy->signal_type =CFG80211_SIGNAL_TYPE_MBM ; -/*Set the availaible cipher suites*/ +/*Set the available cipher suites*/ wdev->wiphy->cipher_suites = cipher_suites; wdev->wiphy->n_cipher_suites =ARRAY_SIZE (cipher_suites); -/*Setting default managment types: for register action frame: */ +/*Setting default management types: for register action frame: */ wdev->wiphy->mgmt_stypes = wilc_wfi_cfg80211_mgmt_types; wdev->wiphy->max_remain_on_channel_duration =500 ; -/*Setting the wiphy interfcae mode and type before registering the wiphy*/ +/*Setting the wiphy interface mode and type before registering the wiphy*/ wdev->wiphy->interface_modes =BIT (NL80211_IFTYPE_STATION ) |BIT (NL80211_IFTYPE_AP ) |BIT (NL80211_IFTYPE_MONITOR ) |BIT (NL80211_IFTYPE_P2P_GO ) |BIT (NL80211_IFTYPE_P2P_CLIENT ); wdev->wiphy->flags |=WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL ;
@@ -3464,7 +3464,7 @@ int wilc_init_host_int(struct net_device *net) } op_ifcs++;if (s32Error <0 ) { -PRINT_ER ("Failed to creat refresh Timer\n" ); +PRINT_ER ("Failed to create refresh Timer\n" );return s32Error; }
Signature · 1 line
2.6.3.379.g0c83680
Re: [PATCH 4/4] staging: wilc1000: Fix typo in wilc_wfi_cfgoperations.c
Quoted 12 lines · Masanari Iida
This patch fix some spelling typo in
wilc_wfi_cfgoperations.cSigned-off-by Masanari Iida <[email protected]>--- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 34 +++++++++++------------ 1 file changed, 17 insertions(+), 17 deletions(-)drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +0
-0
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c void WILC_WFI_p2p_rx (struct net_device *dev, u8 *buff, u32 size) · line 1926
Quoted 5 lines
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +1
-1@@ -1923,7 +1923,7 @@ void WILC_WFI_p2p_rx (struct net_device *dev, u8 *buff, u32 size)/* Get WILC header */ memcpy (&header, (buff -HOST_HDR_OFFSET ),HOST_HDR_OFFSET ); -/* The packet offset field conain info about what type of managment frame */ +/* The packet offset field contain info about what type of management frame */
contains
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c static int mgmt_tx(struct wiphy *wiphy, · line 2286
Quoted 9 lines
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +1
-1/* we are dealing with and ack status */ pkt_offset =GET_PKT_OFFSET (header);@@ -2283,7 +2283,7 @@ static int mgmt_tx(struct wiphy *wiphy,if (u8P2Plocalrandom > u8P2Precvrandom) {PRINT_D (GENERIC_DBG ,"LOCAL WILL BE GO LocaRand=%02x RecvRand %02x\n" , u8P2Plocalrandom, u8P2Precvrandom); -/*Search for the p2p information information element , after the Public action subtype theres a byte for teh dialog token, skip that*/ +/*Search for the p2p information information element , after the Public action subtype theres a byte for the dialog token, skip that*/
Please change "theres" to "there's" or "there is".
Quoted 3 lines
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +0
-0for (i =P2P_PUB_ACTION_SUBTYPE +2 ; i < len; i++) {if (buf[i] ==P2PELEM_ATTR_ID && !(memcmp (u8P2P_oui, &buf[i +2 ],4 ))) {if (buf[P2P_PUB_ACTION_SUBTYPE ] ==P2P_INV_REQ || buf[P2P_PUB_ACTION_SUBTYPE ] ==P2P_INV_RSP )
Signature · 1 line
~Randy
Quoted 3 lines · Masanari Iida
This patch fix some spelling typo in
wilc_msgqueue.hSigned-off-by Masanari Iida <[email protected]>
Thanks.
Quoted 8 lines
--- drivers/staging/wilc1000/wilc_msgqueue.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)drivers/staging/wilc1000/wilc_msgqueue.h +0
-0
Signature · 1 line
~Randy