brcmfmac: improve Raspberry Pi 3 stability

- Really disable power management (wrong config flags).
- Disable internal roaming engine.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
Álvaro Fernández Rojas
2017-02-07 14:45:19 +01:00
parent ec10bb18f5
commit deb15cb23c
2 changed files with 25 additions and 2 deletions

View File

@@ -18,8 +18,8 @@ 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_BCM2708) || defined(CONFIG_BCM2709)
+ pr_info("power management disabled\n");
+#if defined(CONFIG_ARCH_BCM2708) || defined(CONFIG_ARCH_BCM2709)
+ brcmf_dbg(INFO, "power management disabled\n");
+ enabled = false;
+#endif
cfg->pwr_save = enabled;