mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2025-01-15 16:25:35 +00:00
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:
parent
8ffae47921
commit
f849943092
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue