diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2023-09-13 20:42:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-09-16 11:18:57 +0100 |
commit | 01b38de18d06af5e6a703ed2fb8677c376cafc91 (patch) | |
tree | 5d5f4f55a01a0b5bb9478586a2b15eac8a0f34dc /drivers/net/ethernet/sfc/ptp.c | |
parent | c123e0d30bdb54a0f91ec348827eef76877165d8 (diff) |
net: ethernet: mtk_wed: do not assume offload callbacks are always set
Check if wlan.offload_enable and wlan.offload_disable callbacks are set
in mtk_wed_flow_add/mtk_wed_flow_remove since mt7996 will not rely
on them.
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/ptp.c')
0 files changed, 0 insertions, 0 deletions