diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2016-04-16 08:48:43 +0000 |
---|---|---|
committer | Rafał Miłecki <zajec5@gmail.com> | 2016-04-16 08:48:43 +0000 |
commit | 894aed060ee15dafea19d94157adddf38ff8e2e7 (patch) | |
tree | adb07cf3620b80c16a754594560f7ea942a99620 /package/kernel/mac80211/patches/346-brcmfmac-uninitialized-ret-variable.patch | |
parent | e920824fdd8488a9659b9839feebe015362de6c2 (diff) | |
download | upstream-894aed060ee15dafea19d94157adddf38ff8e2e7.tar.gz upstream-894aed060ee15dafea19d94157adddf38ff8e2e7.tar.bz2 upstream-894aed060ee15dafea19d94157adddf38ff8e2e7.zip |
mac80211: update brcmfmac including missing boardrev workaround
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49174
Diffstat (limited to 'package/kernel/mac80211/patches/346-brcmfmac-uninitialized-ret-variable.patch')
-rw-r--r-- | package/kernel/mac80211/patches/346-brcmfmac-uninitialized-ret-variable.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/346-brcmfmac-uninitialized-ret-variable.patch b/package/kernel/mac80211/patches/346-brcmfmac-uninitialized-ret-variable.patch new file mode 100644 index 0000000000..3c9ed425da --- /dev/null +++ b/package/kernel/mac80211/patches/346-brcmfmac-uninitialized-ret-variable.patch @@ -0,0 +1,21 @@ +From: Dan Carpenter <dan.carpenter@oracle.com> +Date: Tue, 15 Mar 2016 10:06:10 +0300 +Subject: [PATCH] brcmfmac: uninitialized "ret" variable + +There is an error path where "ret" isn't initialized. + +Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> +Signed-off-by: Kalle Valo <kvalo@codeaurora.org> +--- + +--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c ++++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c +@@ -250,7 +250,7 @@ static int brcmf_sdiod_request_data(stru + u32 addr, u8 regsz, void *data, bool write) + { + struct sdio_func *func; +- int ret; ++ int ret = -EINVAL; + + brcmf_dbg(SDIO, "rw=%d, func=%d, addr=0x%05x, nbytes=%d\n", + write, fn, addr, regsz); |