diff options
author | Masanari Iida <standby24x7@gmail.com> | 2012-10-28 08:41:28 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-29 17:58:30 -0400 |
commit | 28c4ff643549f18a6c50df694ce4ba9975b7917f (patch) | |
tree | 9a081480b39137afe0c2afffe85153d841506823 | |
parent | 1f5466b0a6c82a1489f5d1ff9ef20c919b56a2cc (diff) |
staging : csr: Fix typo in csr/netdev.c
Correct spelling typos in csr/netdev.c
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/csr/netdev.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/csr/netdev.c b/drivers/staging/csr/netdev.c index 2d4a4e62221..7dad26f7017 100644 --- a/drivers/staging/csr/netdev.c +++ b/drivers/staging/csr/netdev.c | |||
@@ -54,7 +54,7 @@ | |||
54 | #include <net/pkt_sched.h> | 54 | #include <net/pkt_sched.h> |
55 | 55 | ||
56 | 56 | ||
57 | /* Wext handler is suported only if CSR_SUPPORT_WEXT is defined */ | 57 | /* Wext handler is supported only if CSR_SUPPORT_WEXT is defined */ |
58 | #ifdef CSR_SUPPORT_WEXT | 58 | #ifdef CSR_SUPPORT_WEXT |
59 | extern struct iw_handler_def unifi_iw_handler_def; | 59 | extern struct iw_handler_def unifi_iw_handler_def; |
60 | #endif /* CSR_SUPPORT_WEXT */ | 60 | #endif /* CSR_SUPPORT_WEXT */ |
@@ -88,7 +88,7 @@ typedef int (*tx_signal_handler)(unifi_priv_t *priv, struct sk_buff *skb, const | |||
88 | /* | 88 | /* |
89 | * The driver uses the qdisc interface to buffer and control all | 89 | * The driver uses the qdisc interface to buffer and control all |
90 | * outgoing traffic. We create a root qdisc, register our qdisc operations | 90 | * outgoing traffic. We create a root qdisc, register our qdisc operations |
91 | * and later we create two subsiduary pfifo queues for the uncontrolled | 91 | * and later we create two subsidiary pfifo queues for the uncontrolled |
92 | * and controlled ports. | 92 | * and controlled ports. |
93 | * | 93 | * |
94 | * The network stack delivers all outgoing packets in our enqueue handler. | 94 | * 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 | return -1; | 1562 | return -1; |
1563 | } | 1563 | } |
1564 | 1564 | ||
1565 | /* RA adrress must contain the immediate destination MAC address that is similiar to | 1565 | /* RA address must contain the immediate destination MAC address that is similar to |
1566 | * the Address 1 field of 802.11 Mac header here 4 is: (sizeof(framecontrol) + sizeof (durationID)) | 1566 | * the Address 1 field of 802.11 Mac header here 4 is: (sizeof(framecontrol) + sizeof (durationID)) |
1567 | * which is address 1 field | 1567 | * which is address 1 field |
1568 | */ | 1568 | */ |
@@ -2504,7 +2504,7 @@ static void process_ma_packet_ind(unifi_priv_t *priv, CSR_SIGNAL *signal, bulk_d | |||
2504 | return; | 2504 | return; |
2505 | } | 2505 | } |
2506 | /* For monitor mode we need to pass this indication to the registered application | 2506 | /* For monitor mode we need to pass this indication to the registered application |
2507 | handle this seperately*/ | 2507 | handle this separately*/ |
2508 | /* MIC failure is already taken care of so no need to send the PDUs which are not successfully received in non-monitor mode*/ | 2508 | /* MIC failure is already taken care of so no need to send the PDUs which are not successfully received in non-monitor mode*/ |
2509 | if(pkt_ind->ReceptionStatus != CSR_RX_SUCCESS) | 2509 | if(pkt_ind->ReceptionStatus != CSR_RX_SUCCESS) |
2510 | { | 2510 | { |
@@ -3037,13 +3037,13 @@ static void update_expected_sn(unifi_priv_t *priv, | |||
3037 | u16 gap; | 3037 | u16 gap; |
3038 | 3038 | ||
3039 | gap = (sn - ba_session->expected_sn) & 0xFFF; | 3039 | gap = (sn - ba_session->expected_sn) & 0xFFF; |
3040 | unifi_trace(priv, UDBG6, "%s: proccess the frames up to new_expected_sn = %d gap = %d\n", __FUNCTION__, sn, gap); | 3040 | unifi_trace(priv, UDBG6, "%s: process the frames up to new_expected_sn = %d gap = %d\n", __FUNCTION__, sn, gap); |
3041 | for(j = 0; j < gap && j < ba_session->wind_size; j++) { | 3041 | for(j = 0; j < gap && j < ba_session->wind_size; j++) { |
3042 | i = SN_TO_INDEX(ba_session, ba_session->expected_sn); | 3042 | i = SN_TO_INDEX(ba_session, ba_session->expected_sn); |
3043 | unifi_trace(priv, UDBG6, "%s: proccess the slot index = %d\n", __FUNCTION__, i); | 3043 | unifi_trace(priv, UDBG6, "%s: process the slot index = %d\n", __FUNCTION__, i); |
3044 | if(ba_session->buffer[i].active) { | 3044 | if(ba_session->buffer[i].active) { |
3045 | add_frame_to_ba_complete(priv, interfacePriv, &ba_session->buffer[i]); | 3045 | add_frame_to_ba_complete(priv, interfacePriv, &ba_session->buffer[i]); |
3046 | unifi_trace(priv, UDBG6, "%s: proccess the frame at index = %d expected_sn = %d\n", __FUNCTION__, i, ba_session->expected_sn); | 3046 | unifi_trace(priv, UDBG6, "%s: process the frame at index = %d expected_sn = %d\n", __FUNCTION__, i, ba_session->expected_sn); |
3047 | FREE_BUFFER_SLOT(ba_session, i); | 3047 | FREE_BUFFER_SLOT(ba_session, i); |
3048 | } else { | 3048 | } else { |
3049 | unifi_trace(priv, UDBG6, "%s: empty slot at index = %d\n", __FUNCTION__, i); | 3049 | unifi_trace(priv, UDBG6, "%s: empty slot at index = %d\n", __FUNCTION__, i); |