mac80211: brcmfmac: update Raspberry Pi patches for linux 4.9
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
		| @@ -18,7 +18,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org> | |||||||
|  	 * preference in cfg struct to apply this to |  	 * preference in cfg struct to apply this to | ||||||
|  	 * FW later while initializing the dongle |  	 * 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"); | +	brcmf_dbg(INFO, "power management disabled\n"); | ||||||
| +	enabled = false; | +	enabled = false; | ||||||
| +#endif | +#endif | ||||||
|   | |||||||
| @@ -13,7 +13,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org> | |||||||
|  module_param_named(fcmode, brcmf_fcmode, int, 0); |  module_param_named(fcmode, brcmf_fcmode, int, 0); | ||||||
|  MODULE_PARM_DESC(fcmode, "Mode of firmware signalled flow control"); |  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; | +static int brcmf_roamoff = 1; | ||||||
| +#else | +#else | ||||||
|  static int brcmf_roamoff; |  static int brcmf_roamoff; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Álvaro Fernández Rojas
					Álvaro Fernández Rojas