nss-ecm: remove redundant check ACTION check

The script already exits if $ACTION != "add", no need to double check.

Signed-off-by: Sean Khan <datapronix@protonmail.com>
This commit is contained in:
Sean Khan 2024-10-14 16:44:02 -04:00
parent ffa658dc50
commit 80a6c3f593

View File

@ -4,7 +4,7 @@
. /lib/netifd/offload/disable_offloads.sh
if [ "$ACTION" = add ] && [ -n "$INTERFACE" ]; then
if [ -n "$INTERFACE" ]; then
disable_offload "$INTERFACE"
# Disable tx-checksumming for mesh interfaces, as it breaks multicast traffic
if [ "$DEVTYPE" = "wlan" ]; then