mwifiex/mxm_wifiex/wlan_src
Sherry Sun f965f1f2cf mxm_wifiex: fix next-20230119 Linux Factory rebase build errors
When build wifi driver based on next-20230119 Linux code, will observe
the following build errors.
/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c: In function ‘woal_priv_get_ap’:
/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:5968:39: error: invalid application of ‘sizeof’ to incomplete type ‘char[]’
 5968 |                                 sizeof(mwr->u.ap_addr.sa_data));
      |                                       ^
make[2]: *** [scripts/Makefile.build:252: /work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.o] Error 1
make[1]: *** [Makefile:2027: /work/mwifiex/mxm_wifiex/wlan_src] Error 2
make[1]: Leaving directory '/work/linux-nxp-rebase'

This is caused by kernel patch b5f0de6df6dc("net: dev: Convert sa_data
to flexible array in struct sockaddr"), now anything using
sizeof(sa->sa_data) must switch to sizeof(sa->sa_data_min).

Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
2023-02-09 12:34:24 +08:00
..
mlan mxm_wifiex: update to mxm5x17368.p2 release 2023-01-31 11:02:59 +08:00
mlinux mxm_wifiex: fix next-20230119 Linux Factory rebase build errors 2023-02-09 12:34:24 +08:00
script mxm_wifiex: update to mxm5x17362 release 2022-10-10 15:32:56 +08:00
Makefile mxm_wifiex: update to mxm5x17368.p2 release 2023-01-31 11:02:59 +08:00
README_MLAN mxm_wifiex: update to mxm5x17368.p2 release 2023-01-31 11:02:59 +08:00