mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 09:39:00 +00:00
25 lines
938 B
Diff
25 lines
938 B
Diff
|
From b07e1ae2ce53a60af67009ef199603a588003e07 Mon Sep 17 00:00:00 2001
|
||
|
From: Weitao Hou <houweitaoo@gmail.com>
|
||
|
Date: Mon, 20 May 2019 20:28:25 +0800
|
||
|
Subject: [PATCH] brcmfmac: fix typos in code comments
|
||
|
|
||
|
fix lengh to length
|
||
|
|
||
|
Signed-off-by: Weitao Hou <houweitaoo@gmail.com>
|
||
|
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
|
||
|
---
|
||
|
drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c
|
||
|
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c
|
||
|
@@ -303,7 +303,7 @@ brcmf_create_bsscfg(s32 bsscfgidx, char
|
||
|
return brcmf_create_iovar(name, data, datalen, buf, buflen);
|
||
|
|
||
|
prefixlen = strlen(prefix);
|
||
|
- namelen = strlen(name) + 1; /* lengh of iovar name + null */
|
||
|
+ namelen = strlen(name) + 1; /* length of iovar name + null */
|
||
|
iolen = prefixlen + namelen + sizeof(bsscfgidx_le) + datalen;
|
||
|
|
||
|
if (buflen < iolen) {
|