Files
wlan-ap/feeds/ipq807x/qca-nss-dp/patches/100-power-on.patch
John Crispin 454856e5c2 ipq807x: always power on phys when an interface is started
Fixes: WIFI-12648
Signed-off-by: John Crispin <john@phrozen.org>
2023-06-04 17:14:18 +02:00

21 lines
534 B
Diff

Index: qca-nss-dp/nss_dp_main.c
===================================================================
--- qca-nss-dp.orig/nss_dp_main.c
+++ qca-nss-dp/nss_dp_main.c
@@ -32,6 +32,7 @@
#include <net/switchdev.h>
#include "nss_dp_hal.h"
+#include "fal/fal_port_ctrl.h"
/*
* Number of TX/RX queue supported is based on the number of host CPU
@@ -293,6 +294,7 @@ static int nss_dp_open(struct net_device
phy_start(dp_priv->phydev);
phy_start_aneg(dp_priv->phydev);
}
+ fal_port_power_on(0, dp_priv->macid);
return 0;
}