mac80211: add #if guards against 5.4 compile failures
authorChristian Lamparter <chunkeey@gmail.com>
Fri, 25 Feb 2022 07:11:36 +0000 (08:11 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 25 Feb 2022 16:27:28 +0000 (17:27 +0100)
commite126a1e4137f5c7fba00e762369eb30a16f8fbf4
tree61f26b87ad2940dc71bea40634d0174e291893a7
parent68a20d86313a58128cc8c17a58d5bd38c603c673
mac80211: add #if guards against 5.4 compile failures

Both struct net_device_path_ctx and struct net_device_path
are not available in 5.4. This causes an build error on the
bcm63xx target.

|mac80211/driver-ops.h: In function 'drv_net_fill_forward_path':
|driver-ops.h:1502:57: error: passing argument 4 of
|'local->ops->net_fill_forward_path' from incompatible pointer type
| [-Werror=incompatible-pointer-types]
| 1502 |                          ctx, path);
|      |                          ^~~
|      |                            |
|      |                         struct net_device_path_ctx *

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
package/kernel/mac80211/patches/subsys/308-mac80211-add-support-for-.ndo_fill_forward_path.patch
package/kernel/mac80211/patches/subsys/319-mac80211-introduce-set_radar_offchan-callback.patch
package/kernel/mac80211/patches/subsys/320-cfg80211-rename-offchannel_chain-structs-to-backgrou.patch