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 f0226a2843737c9c73692f9657a62f5ab81843ca..1819cf399991d70c4ded9de8da74f7e18ca528cd 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 5ae4c11228fdd5c83dfb738f7a335767aaf34079..891c539fbf3c0debc0d70eb1fd58fae3215a6c4e 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;