Message ID | 20190520122825.981-1-houweitaoo@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | b07e1ae2ce53a60af67009ef199603a588003e07 |
Delegated to: | Kalle Valo |
Headers | show |
Series | [v2] brcmfmac: fix typos in code comments | expand |
On 2019-05-20 14:28, Weitao Hou wrote: > fix lengh to length > > Signed-off-by: Weitao Hou <houweitaoo@gmail.com> > --- > - fix prefix Nice, thanks!
Weitao Hou <houweitaoo@gmail.com> wrote: > fix lengh to length > > Signed-off-by: Weitao Hou <houweitaoo@gmail.com> Patch applied to wireless-drivers-next.git, thanks. b07e1ae2ce53 brcmfmac: fix typos in code comments
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c index 8ea27489734e..edd2f09613d8 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c @@ -314,7 +314,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) {
fix lengh to length Signed-off-by: Weitao Hou <houweitaoo@gmail.com> --- - fix prefix --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)