mac80211: brcm: fix warning on ARCH_BCM2835
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Sat, 27 Jan 2024 09:25:08 +0000 (10:25 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Sat, 27 Jan 2024 09:30:47 +0000 (10:30 +0100)
commit0c45d2cfc6a0ca036af036771d0f1b36a3836bcc
tree8537511d4f2bf2868b212fdcfa036271ad594f27
parent5485d27f4df9fe973ea797887d5381af3aa40ded
mac80211: brcm: fix warning on ARCH_BCM2835

Completely disable dump_survey code on ARCH_BCM2835 to fix defined but not
used warning.
https://github.com/openwrt/openwrt/commit/512b762ddbb602b744f0e7a443cf4ac7422155c1?w=1#commitcomment-137899352

Fixes: 512b762ddbb6 ("mac80211: brcm: disable dump_survey on Raspberry Pi")
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
package/kernel/mac80211/patches/brcm/865-brcmfmac-disable-dump_survey-on-bcm2835.patch