Fix spelling typo in printk and comment within staging/csr. Signed-off-by: Masanari Iida <standby24x7@xxxxxxxxx> --- drivers/staging/csr/csr_wifi_nme_prim.h | 2 +- drivers/staging/csr/drv.c | 4 ++-- drivers/staging/csr/os.c | 2 +- drivers/staging/csr/unifi_event.c | 2 +- drivers/staging/csr/unifi_pdu_processing.c | 16 ++++++++-------- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/staging/csr/csr_wifi_nme_prim.h b/drivers/staging/csr/csr_wifi_nme_prim.h index 9a7927a..096faf2 100644 --- a/drivers/staging/csr/csr_wifi_nme_prim.h +++ b/drivers/staging/csr/csr_wifi_nme_prim.h @@ -879,7 +879,7 @@ typedef struct wmmQosInfoMask - Mask for WMM QoS information. bssType - Type of BSS (Infrastructure or Adhoc). channelNo - Channel Number. - ccxOptionsMask - Options mask for Cisco Compatible Extentions. + ccxOptionsMask - Options mask for Cisco Compatible Extensions. cloakedSsid - Flag to decide whether the SSID is cloaked (not transmitted) or not. credentials - Credentials data. diff --git a/drivers/staging/csr/drv.c b/drivers/staging/csr/drv.c index 3bd52fd..f5b4902 100644 --- a/drivers/staging/csr/drv.c +++ b/drivers/staging/csr/drv.c @@ -1687,7 +1687,7 @@ udi_set_log_filter(ul_client_t *pcli, unifiio_filter_t *udi_filter) if (filter_pos == 0xFFFFFFFF) { printk(KERN_WARNING - "Unrecognised signal id (0x%X) specifed in logging filter\n", + "Unrecognised signal id (0x%X) specified in logging filter\n", udi_filter->sig_ids[i]); } else { pcli->signal_filter[filter_pos >> 16] |= (filter_pos & 0xFFFF); @@ -1701,7 +1701,7 @@ udi_set_log_filter(ul_client_t *pcli, unifiio_filter_t *udi_filter) if (filter_pos == 0xFFFFFFFF) { printk(KERN_WARNING - "Unrecognised signal id (0x%X) specifed in logging filter\n", + "Unrecognised signal id (0x%X) specified in logging filter\n", udi_filter->sig_ids[i]); } else { pcli->signal_filter[filter_pos >> 16] &= ~(filter_pos & 0xFFFF); diff --git a/drivers/staging/csr/os.c b/drivers/staging/csr/os.c index 37ec59d..ae5d29d 100644 --- a/drivers/staging/csr/os.c +++ b/drivers/staging/csr/os.c @@ -148,7 +148,7 @@ unifi_net_dma_align(void *ospriv, bulk_data_desc_t *bulk_data_slot) buf_address = (unsigned long)(bulk_data_slot->os_data_ptr) & (CSR_WIFI_ALIGN_BYTES - 1); unifi_trace(priv, UDBG5, - "unifi_net_dma_align: Allign buffer (0x%p) by %d bytes\n", + "unifi_net_dma_align: Align buffer (0x%p) by %d bytes\n", bulk_data_slot->os_data_ptr, buf_address); offset = CSR_WIFI_ALIGN_BYTES - buf_address; diff --git a/drivers/staging/csr/unifi_event.c b/drivers/staging/csr/unifi_event.c index e81a998..c312995 100644 --- a/drivers/staging/csr/unifi_event.c +++ b/drivers/staging/csr/unifi_event.c @@ -44,7 +44,7 @@ * Arguments: * priv Pointer to driver's private data. * client Pointer to the client structure. - * receiver_id The reciever id of the signal. + * receiver_id The receiver id of the signal. * sigdata Pointer to the packed signal buffer. * siglen Length of the packed signal. * bulkdata Pointer to the signal's bulk data. diff --git a/drivers/staging/csr/unifi_pdu_processing.c b/drivers/staging/csr/unifi_pdu_processing.c index 95efc36..c877ccf 100644 --- a/drivers/staging/csr/unifi_pdu_processing.c +++ b/drivers/staging/csr/unifi_pdu_processing.c @@ -1468,7 +1468,7 @@ static int update_macheader(unifi_priv_t *priv, struct sk_buff *skb, } } - /* prepare the complete skb, by pushing the MAC header to the begining of the skb->data */ + /* prepare the complete skb, by pushing the MAC header to the beginning of the skb->data */ unifi_trace(priv, UDBG5, "updated Mac Header: %d \n",macHeaderLengthInBytes); memcpy(bufPtr, macHeaderBuf, macHeaderLengthInBytes); @@ -1546,7 +1546,7 @@ uf_ap_process_data_pdu(unifi_priv_t *priv, struct sk_buff *skb, return -1; } - /* fetch the destination record from staion record database */ + /* fetch the destination record from station record database */ dstStaInfo = CsrWifiRouterCtrlGetStationRecordFromPeerMacAddress(priv, ehdr->h_dest, interfaceTag); /* AP mode processing, & if packet is unicast */ @@ -1878,13 +1878,13 @@ CsrResult uf_process_ma_packet_req(unifi_priv_t *priv, } else if ((pktType == CSR_WIFI_MULTICAST_PDU) && (!status)) { - /* If broadcast Tim is set && queuing is successfull, then only update TIM */ + /* If broadcast Tim is set && queuing is successful, then only update TIM */ spin_lock_irqsave(&priv->staRecord_lock,lock_flags); interfacePriv->noOfbroadcastPktQueued++; spin_unlock_irqrestore(&priv->staRecord_lock,lock_flags); } } - /* If broadcast Tim is set && queuing is successfull, then only update TIM */ + /* If broadcast Tim is set && queuing is successful, then only update TIM */ if(setBcTim && !status) { unifi_trace(priv, UDBG3, "tim set due to broadcast pkt\n"); if (!interfacePriv->bcTimSetReqPendingFlag) @@ -1995,7 +1995,7 @@ s8 uf_get_protection_bit_from_interfacemode(unifi_priv_t *priv, u16 interfaceTag */ protection = interfacePriv->protect; } else { - /* fetch the destination record from staion record database */ + /* fetch the destination record from station record database */ dstStaInfo = CsrWifiRouterCtrlGetStationRecordFromPeerMacAddress(priv, daddr, interfaceTag); if (!dstStaInfo) { unifi_trace(priv, UDBG3, "peer not found in station record in send_ma_pkt_request\n"); @@ -3170,7 +3170,7 @@ void uf_process_ps_poll(unifi_priv_t *priv,u8* sa,u8* da,u8 pmBit,u16 interfaceT /*Send Data From Management Frames*/ /* Priority orders for delivering the buffered packets are * 1. Deliver the Management frames if there - * 2. Other access catagory frames which are non deliver enable including UNIFI_TRAFFIC_Q_VO + * 2. Other access category frames which are non deliver enable including UNIFI_TRAFFIC_Q_VO * priority is from VO->BK */ @@ -3439,7 +3439,7 @@ CsrWifiRouterCtrlStaInfo_t *CsrWifiRouterCtrlGetStationRecordFromPeerMacAddress( interfacePriv = priv->interfacePriv[interfaceTag]; - /* disable the preemption untill station record is fetched */ + /* disable the preemption until station record is fetched */ spin_lock_irqsave(&priv->staRecord_lock,lock_flags); for (i = 0; i < UNIFI_MAX_CONNECTIONS; i++) { @@ -3665,7 +3665,7 @@ void update_eosp_to_head_of_broadcast_list_head(unifi_priv_t *priv,u16 interface if (interfacePriv->noOfbroadcastPktQueued) { /* Update the EOSP to the HEAD of b/c list - * beacuse we have received any mgmt packet so it should not hold for long time + * because we have received any mgmt packet so it should not hold for long time * peer may time out. */ spin_lock_irqsave(&priv->tx_q_lock,lock_flags); -- 1.8.2.451.gbfd70c5 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel