zephyr icon indicating copy to clipboard operation
zephyr copied to clipboard

drivers: modem/wifi/ethernet: Fix some more net API use

Open aescolar opened this issue 3 weeks ago • 2 comments

In #99169 the mayority of the Zephyr drivers were changed to use the Zephyr native net_ prefixed types, but some symbols were forgotten. Without these fixes/changes the code still builds in most cases as we are by now setting CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things fail to build.

Note that the net_offload struct was updated accordingly in d45cd6716bbab3a805e3a5fd461934f0dcdc13e5

There is currently a failure in main: https://github.com/zephyrproject-rtos/zephyr/actions/runs/19997797171

drivers/modem/hl7800.c:380:9: error: unknown type name 'sa_family_t'
  380 |         sa_family_t family;
drivers/modem/hl7800.c:5961:24: error: unknown type name 'sa_family_t'; did you mean 'net_sa_family_t'?

aescolar avatar Dec 09 '25 14:12 aescolar

Last push was just fixing a few more missing renames in one of the drivers being changed in this PR.

aescolar avatar Dec 10 '25 09:12 aescolar