qca-nss-dp: fix typo in 0002-edma_tx_rx-support-newe

Might be a typo in drv->txtstamp function:
+ phy_rxtstamp(ndev->phydev, skb, 0);
to
+ phy_txtstamp(ndev->phydev, skb, 0);

Reviewed-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Kristian Skramstad <kristian+github@83.no>
This commit is contained in:
Kristian Skramstad 2023-11-28 09:08:58 +01:00 committed by Hauke Mehrtens
parent fd9d1e90b4
commit 4580213eeb

View File

@ -40,7 +40,7 @@ Signed-off-by: Baruch Siach <baruch@tkos.co.il>
ndev->phydev->drv->txtstamp(ndev->phydev, skb, 0);
+#else
+ if (ndev && phy_has_txtstamp(ndev->phydev))
+ phy_rxtstamp(ndev->phydev, skb, 0);
+ phy_txtstamp(ndev->phydev, skb, 0);
+#endif
}
EXPORT_SYMBOL(nss_phy_tstamp_tx_buf);