mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 09:32:34 +00:00
ipq807x: always power on phys when an interface is started
Fixes: WIFI-12648 Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
20
feeds/ipq807x/qca-nss-dp/patches/100-power-on.patch
Normal file
20
feeds/ipq807x/qca-nss-dp/patches/100-power-on.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user