aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/347-brcmfmac-sdio-remove-unused-variable-retry_limit.patch
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2016-04-16 08:48:43 +0000
committerRafał Miłecki <zajec5@gmail.com>2016-04-16 08:48:43 +0000
commit894aed060ee15dafea19d94157adddf38ff8e2e7 (patch)
treeadb07cf3620b80c16a754594560f7ea942a99620 /package/kernel/mac80211/patches/347-brcmfmac-sdio-remove-unused-variable-retry_limit.patch
parente920824fdd8488a9659b9839feebe015362de6c2 (diff)
downloadupstream-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/347-brcmfmac-sdio-remove-unused-variable-retry_limit.patch')
-rw-r--r--package/kernel/mac80211/patches/347-brcmfmac-sdio-remove-unused-variable-retry_limit.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/347-brcmfmac-sdio-remove-unused-variable-retry_limit.patch b/package/kernel/mac80211/patches/347-brcmfmac-sdio-remove-unused-variable-retry_limit.patch
new file mode 100644
index 0000000000..d1deb6ee5c
--- /dev/null
+++ b/package/kernel/mac80211/patches/347-brcmfmac-sdio-remove-unused-variable-retry_limit.patch
@@ -0,0 +1,24 @@
+From: Colin Ian King <colin.king@canonical.com>
+Date: Sun, 20 Mar 2016 17:34:52 +0000
+Subject: [PATCH] brcmfmac: sdio: remove unused variable retry_limit
+
+retry_limit has never been used during the life of this driver, so
+we may as well remove it as it is redundant.
+
+Signed-off-by: Colin Ian King <colin.king@canonical.com>
+Reviewed-by: Julian Calaby <julian.calaby@gmail.com>
+Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
+---
+
+--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
++++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
+@@ -535,9 +535,6 @@ static int qcount[NUMPRIO];
+
+ #define RETRYCHAN(chan) ((chan) == SDPCM_EVENT_CHANNEL)
+
+-/* Retry count for register access failures */
+-static const uint retry_limit = 2;
+-
+ /* Limit on rounding up frames */
+ static const uint max_roundup = 512;
+