diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2019-07-21 11:23:32 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2019-07-21 11:26:06 +0200 |
commit | db8e08a5a4469f98ed5d9b0ff3189e356f53d924 (patch) | |
tree | ed77c3914ebf100e23da982c7a334a695d902616 /package/kernel/mac80211/patches/brcm/101-v5.4-brcmfmac-fix-typos-in-code-comments.patch | |
parent | 3f1e8c01316a5ea0162197cd8eb6dbbabe396176 (diff) | |
download | upstream-db8e08a5a4469f98ed5d9b0ff3189e356f53d924.tar.gz upstream-db8e08a5a4469f98ed5d9b0ff3189e356f53d924.tar.bz2 upstream-db8e08a5a4469f98ed5d9b0ff3189e356f53d924.zip |
mac80211: brcm: backport first set of 5.4 brcmfmac changes
This doesn't include 9ff8614a3dbe ("brcmfmac: use separate Kconfig file
for brcmfmac") due to a few conflicts with backports changes.
An important change is:
[PATCH 2/7] brcmfmac: change the order of things in brcmf_detach()
which fixes a rmmod crash in the brcmf_txfinalize().
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'package/kernel/mac80211/patches/brcm/101-v5.4-brcmfmac-fix-typos-in-code-comments.patch')
-rw-r--r-- | package/kernel/mac80211/patches/brcm/101-v5.4-brcmfmac-fix-typos-in-code-comments.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/brcm/101-v5.4-brcmfmac-fix-typos-in-code-comments.patch b/package/kernel/mac80211/patches/brcm/101-v5.4-brcmfmac-fix-typos-in-code-comments.patch new file mode 100644 index 0000000000..da359063c6 --- /dev/null +++ b/package/kernel/mac80211/patches/brcm/101-v5.4-brcmfmac-fix-typos-in-code-comments.patch @@ -0,0 +1,24 @@ +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) { |