Thread (9 messages) 9 messages, 3 authors, 2015-12-19

Re: [PATCH 4/4] staging: wilc1000: Fix typo in wilc_wfi_cfgoperations.c

From: Randy Dunlap <hidden>
Date: 2015-11-23 18:31:58

On 11/23/15 05:41, Masanari Iida wrote:
quoted hunk ↗ jump to hunk
This patch fix some spelling typo in wilc_wfi_cfgoperations.c

Signed-off-by: Masanari Iida <redacted>
---
 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 34 +++++++++++------------
 1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 6f40522..ee09d56 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -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
quoted hunk ↗ jump to hunk
 	/* 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".
 								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)

-- 
~Randy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help