brcmfmac: fix typos in code comments
authorWeitao Hou <houweitaoo@gmail.com>
Mon, 20 May 2019 12:28:25 +0000 (20:28 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 28 May 2019 12:25:03 +0000 (15:25 +0300)
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

index 8c230f3a02ce950696c29709101d0546b3c81caf..9ed85420f3ca4c32d1817074ef0408acb48b0ba6 100644 (file)
@@ -303,7 +303,7 @@ brcmf_create_bsscfg(s32 bsscfgidx, char *name, char *data, u32 datalen,
                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) {