diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2016-01-10 01:30:13 +0000 |
---|---|---|
committer | Rafał Miłecki <zajec5@gmail.com> | 2016-01-10 01:30:13 +0000 |
commit | 1f13935e70421827c2f1f4d44b8848397e769729 (patch) | |
tree | 94a89e9912e0b67651c79c2b5e81ee96fa35f7b5 /package/kernel/mac80211/patches/376-0002-brcmfmac-Return-actual-error-by-fwil.patch | |
parent | acad802bceb2d41e003c07a0f17d800151ba7975 (diff) | |
download | upstream-1f13935e70421827c2f1f4d44b8848397e769729.tar.gz upstream-1f13935e70421827c2f1f4d44b8848397e769729.tar.bz2 upstream-1f13935e70421827c2f1f4d44b8848397e769729.zip |
mac80211: brcmfmac: add beamforming support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48168 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/patches/376-0002-brcmfmac-Return-actual-error-by-fwil.patch')
-rw-r--r-- | package/kernel/mac80211/patches/376-0002-brcmfmac-Return-actual-error-by-fwil.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/376-0002-brcmfmac-Return-actual-error-by-fwil.patch b/package/kernel/mac80211/patches/376-0002-brcmfmac-Return-actual-error-by-fwil.patch new file mode 100644 index 0000000000..8672c18f6b --- /dev/null +++ b/package/kernel/mac80211/patches/376-0002-brcmfmac-Return-actual-error-by-fwil.patch @@ -0,0 +1,31 @@ +From: Hante Meuleman <meuleman@broadcom.com> +Date: Wed, 25 Nov 2015 11:32:38 +0100 +Subject: [PATCH] brcmfmac: Return actual error by fwil. + +FWIL is always mapping back errors to EBADE. This is not very +conventient when trying to understand problems by reading logs. +Some callers print the error code, but that is quite useless +when the exact error code is not returned. It also makes it +impossible to differentiate based on error code. This patch +changes the return of EBADE into the actual error code. + +Reviewed-by: Arend Van Spriel <arend@broadcom.com> +Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com> +Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> +Signed-off-by: Hante Meuleman <meuleman@broadcom.com> +Signed-off-by: Arend van Spriel <arend@broadcom.com> +Signed-off-by: Kalle Valo <kvalo@codeaurora.org> +--- + +--- a/drivers/net/wireless/brcm80211/brcmfmac/fwil.c ++++ b/drivers/net/wireless/brcm80211/brcmfmac/fwil.c +@@ -126,7 +126,8 @@ brcmf_fil_cmd_data(struct brcmf_if *ifp, + + brcmf_dbg(FIL, "Failed: %s (%d)\n", + brcmf_fil_get_errstr((u32)(-err)), err); +- return -EBADE; ++ ++ return err; + } + + s32 |