diff options
author | Weitao Hou <houweitaoo@gmail.com> | 2019-05-20 20:28:25 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-05-28 15:25:03 +0300 |
commit | b07e1ae2ce53a60af67009ef199603a588003e07 (patch) | |
tree | 663386f50fb4ddeb078d8ffbc4a83fb38a1f9c40 /drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c | |
parent | 885a93cf31106808cd3ded7c5e01e35fa495fdc5 (diff) | |
download | lwn-b07e1ae2ce53a60af67009ef199603a588003e07.tar.gz lwn-b07e1ae2ce53a60af67009ef199603a588003e07.zip |
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>
Diffstat (limited to 'drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c')
-rw-r--r-- | drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c index 8c230f3a02ce..9ed85420f3ca 100644 --- 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 *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) { |