Skip to content

Commit

Permalink
brcmfmac: fix typos in code comments
Browse files Browse the repository at this point in the history
fix lengh to length

Signed-off-by: Weitao Hou <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
  • Loading branch information
houweitaoo authored and Kalle Valo committed May 28, 2019
1 parent 885a93c commit b07e1ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b07e1ae

Please sign in to comment.