mac80211: brcmfmac: update Raspberry Pi patches for linux 4.9
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 7 Feb 2017 22:16:26 +0000 (23:16 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 7 Feb 2017 22:16:26 +0000 (23:16 +0100)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
package/kernel/mac80211/patches/862-brcmfmac-Disable-power-management.patch
package/kernel/mac80211/patches/864-brcmfmac-do-not-use-internal-roaming-engine-by-default.patch

index f0226a2..1819cf3 100644 (file)
@@ -18,7 +18,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
         * preference in cfg struct to apply this to
         * FW later while initializing the dongle
         */
-+#if defined(CONFIG_ARCH_BCM2708) || defined(CONFIG_ARCH_BCM2709)
++#if defined(CONFIG_ARCH_BCM2835)
 +      brcmf_dbg(INFO, "power management disabled\n");
 +      enabled = false;
 +#endif
index 5ae4c11..891c539 100644 (file)
@@ -13,7 +13,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  module_param_named(fcmode, brcmf_fcmode, int, 0);
  MODULE_PARM_DESC(fcmode, "Mode of firmware signalled flow control");
  
-+#if defined(CONFIG_ARCH_BCM2708) || defined(CONFIG_ARCH_BCM2709)
++#if defined(CONFIG_ARCH_BCM2835)
 +static int brcmf_roamoff = 1;
 +#else
  static int brcmf_roamoff;