brcm2708: add linux 4.19 support
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.19 / 950-0135-brcmfmac-Re-enable-firmware-roaming-support.patch
1 From 8bb29ed53937d3608e68f75d269d648ca0b22dcf Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Wed, 20 Jun 2018 12:20:01 +0100
4 Subject: [PATCH 135/703] brcmfmac: Re-enable firmware roaming support
5
6 As of 4.18, a firmware that implements the update_connect_params
7 method but doesn't claim to support roaming causes an error. We
8 disabled firmware roaming in 4.4 [1] because it appeared to
9 prevent disconnects, but let's try with the current firmware to see
10 if things have improved.
11
12 [1] https://github.com/raspberrypi/linux/commit/dd9188011786fb62a7960922f31e8e086fb2009b
13
14 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
15 ---
16 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
20 +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
21 @@ -70,7 +70,7 @@ static int brcmf_fcmode;
22 module_param_named(fcmode, brcmf_fcmode, int, 0);
23 MODULE_PARM_DESC(fcmode, "Mode of firmware signalled flow control");
24
25 -static int brcmf_roamoff = 1;
26 +static int brcmf_roamoff;
27 module_param_named(roamoff, brcmf_roamoff, int, 0400);
28 MODULE_PARM_DESC(roamoff, "Do not use internal roaming engine");
29