From: Kristian Skramstad Date: Tue, 28 Nov 2023 08:08:58 +0000 (+0100) Subject: qca-nss-dp: fix typo in 0002-edma_tx_rx-support-newe X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4580213eeb65d609b109753f95c9c7db429f4d10;p=openwrt%2Fstaging%2Frmilecki.git 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 Signed-off-by: Kristian Skramstad --- diff --git a/package/kernel/qca-nss-dp/patches/0002-edma_tx_rx-support-newer-kernels-time-stamping-API.patch b/package/kernel/qca-nss-dp/patches/0002-edma_tx_rx-support-newer-kernels-time-stamping-API.patch index d84e9a98d56..d091311b975 100644 --- a/package/kernel/qca-nss-dp/patches/0002-edma_tx_rx-support-newer-kernels-time-stamping-API.patch +++ b/package/kernel/qca-nss-dp/patches/0002-edma_tx_rx-support-newer-kernels-time-stamping-API.patch @@ -40,7 +40,7 @@ Signed-off-by: Baruch Siach 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);