mxm_wifiex: fix the wrong ndo_siocdevprivate function for woal_uap_netdev_ops

ndo_siocdevprivate should use woal_uap_do_ioctl instead of woal_do_ioctl
in woal_uap_netdev_ops struct.

Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Approved-by: Tian Yang <yang.tian@nxp.com>
This commit is contained in:
Sherry Sun 2021-10-09 10:35:21 +08:00
parent 8ffae47921
commit f849943092
1 changed files with 1 additions and 1 deletions

View File

@ -4071,7 +4071,7 @@ const struct net_device_ops woal_uap_netdev_ops = {
.ndo_start_xmit = woal_hard_start_xmit,
.ndo_stop = woal_close,
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0)
.ndo_siocdevprivate = woal_do_ioctl,
.ndo_siocdevprivate = woal_uap_do_ioctl,
#else
.ndo_do_ioctl = woal_uap_do_ioctl,
#endif