Commit 28c4ff64 authored by Masanari Iida's avatar Masanari Iida Committed by Greg Kroah-Hartman

staging : csr: Fix typo in csr/netdev.c

Correct spelling typos in csr/netdev.c
Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1f5466b0
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
#include <net/pkt_sched.h> #include <net/pkt_sched.h>
/* Wext handler is suported only if CSR_SUPPORT_WEXT is defined */ /* Wext handler is supported only if CSR_SUPPORT_WEXT is defined */
#ifdef CSR_SUPPORT_WEXT #ifdef CSR_SUPPORT_WEXT
extern struct iw_handler_def unifi_iw_handler_def; extern struct iw_handler_def unifi_iw_handler_def;
#endif /* CSR_SUPPORT_WEXT */ #endif /* CSR_SUPPORT_WEXT */
...@@ -88,7 +88,7 @@ typedef int (*tx_signal_handler)(unifi_priv_t *priv, struct sk_buff *skb, const ...@@ -88,7 +88,7 @@ typedef int (*tx_signal_handler)(unifi_priv_t *priv, struct sk_buff *skb, const
/* /*
* The driver uses the qdisc interface to buffer and control all * The driver uses the qdisc interface to buffer and control all
* outgoing traffic. We create a root qdisc, register our qdisc operations * outgoing traffic. We create a root qdisc, register our qdisc operations
* and later we create two subsiduary pfifo queues for the uncontrolled * and later we create two subsidiary pfifo queues for the uncontrolled
* and controlled ports. * and controlled ports.
* *
* The network stack delivers all outgoing packets in our enqueue handler. * The network stack delivers all outgoing packets in our enqueue handler.
...@@ -1562,7 +1562,7 @@ send_ma_pkt_request(unifi_priv_t *priv, struct sk_buff *skb, const struct ethhdr ...@@ -1562,7 +1562,7 @@ send_ma_pkt_request(unifi_priv_t *priv, struct sk_buff *skb, const struct ethhdr
return -1; return -1;
} }
/* RA adrress must contain the immediate destination MAC address that is similiar to /* RA address must contain the immediate destination MAC address that is similar to
* the Address 1 field of 802.11 Mac header here 4 is: (sizeof(framecontrol) + sizeof (durationID)) * the Address 1 field of 802.11 Mac header here 4 is: (sizeof(framecontrol) + sizeof (durationID))
* which is address 1 field * which is address 1 field
*/ */
...@@ -2504,7 +2504,7 @@ static void process_ma_packet_ind(unifi_priv_t *priv, CSR_SIGNAL *signal, bulk_d ...@@ -2504,7 +2504,7 @@ static void process_ma_packet_ind(unifi_priv_t *priv, CSR_SIGNAL *signal, bulk_d
return; return;
} }
/* For monitor mode we need to pass this indication to the registered application /* For monitor mode we need to pass this indication to the registered application
handle this seperately*/ handle this separately*/
/* MIC failure is already taken care of so no need to send the PDUs which are not successfully received in non-monitor mode*/ /* MIC failure is already taken care of so no need to send the PDUs which are not successfully received in non-monitor mode*/
if(pkt_ind->ReceptionStatus != CSR_RX_SUCCESS) if(pkt_ind->ReceptionStatus != CSR_RX_SUCCESS)
{ {
...@@ -3037,13 +3037,13 @@ static void update_expected_sn(unifi_priv_t *priv, ...@@ -3037,13 +3037,13 @@ static void update_expected_sn(unifi_priv_t *priv,
u16 gap; u16 gap;
gap = (sn - ba_session->expected_sn) & 0xFFF; gap = (sn - ba_session->expected_sn) & 0xFFF;
unifi_trace(priv, UDBG6, "%s: proccess the frames up to new_expected_sn = %d gap = %d\n", __FUNCTION__, sn, gap); unifi_trace(priv, UDBG6, "%s: process the frames up to new_expected_sn = %d gap = %d\n", __FUNCTION__, sn, gap);
for(j = 0; j < gap && j < ba_session->wind_size; j++) { for(j = 0; j < gap && j < ba_session->wind_size; j++) {
i = SN_TO_INDEX(ba_session, ba_session->expected_sn); i = SN_TO_INDEX(ba_session, ba_session->expected_sn);
unifi_trace(priv, UDBG6, "%s: proccess the slot index = %d\n", __FUNCTION__, i); unifi_trace(priv, UDBG6, "%s: process the slot index = %d\n", __FUNCTION__, i);
if(ba_session->buffer[i].active) { if(ba_session->buffer[i].active) {
add_frame_to_ba_complete(priv, interfacePriv, &ba_session->buffer[i]); add_frame_to_ba_complete(priv, interfacePriv, &ba_session->buffer[i]);
unifi_trace(priv, UDBG6, "%s: proccess the frame at index = %d expected_sn = %d\n", __FUNCTION__, i, ba_session->expected_sn); unifi_trace(priv, UDBG6, "%s: process the frame at index = %d expected_sn = %d\n", __FUNCTION__, i, ba_session->expected_sn);
FREE_BUFFER_SLOT(ba_session, i); FREE_BUFFER_SLOT(ba_session, i);
} else { } else {
unifi_trace(priv, UDBG6, "%s: empty slot at index = %d\n", __FUNCTION__, i); unifi_trace(priv, UDBG6, "%s: empty slot at index = %d\n", __FUNCTION__, i);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment