mirror of
https://github.com/breeze303/nss-packages.git
synced 2025-12-18 01:36:10 +00:00
`is_mlo_device` is a check for whether a device is multi-link operation capable, it is also geared towards WiFi 7 which is only supported on IPQ95xx/53xx platforms with SFE. Since these patches are only focused on NSS, rather than unecessarily patching the kernel, don't check if device is MLO capable.
15 lines
565 B
Diff
15 lines
565 B
Diff
--- a/ecm_interface.c
|
|
+++ b/ecm_interface.c
|
|
@@ -4033,7 +4033,11 @@ static uint32_t ecm_interface_multicast_
|
|
* For MLO bond netdevice, destination for multicast is bond netdevice itself
|
|
* Therefore, slave lookup is not needed.
|
|
*/
|
|
+#ifdef ECM_FRONT_END_SFE_ENABLE
|
|
if (ecm_front_end_is_lag_master(dest_dev) && !bond_is_mlo_device(dest_dev)) {
|
|
+#else
|
|
+ if (ecm_front_end_is_lag_master(dest_dev)) {
|
|
+#endif
|
|
/*
|
|
* Link aggregation
|
|
* Figure out which slave device of the link aggregation will be used to reach the destination.
|