mirror of
https://github.com/chinawrj/rtl8812au
synced 2025-01-08 17:46:31 +00:00
Allow a little extra size for rtw_hostapd_ioctl() packets
This commit is contained in:
parent
8d4ac74d47
commit
c2668290e3
@ -7721,7 +7721,7 @@ static int rtw_hostapd_ioctl(struct net_device *dev, struct iw_point *p)
|
||||
if (!rtw_is_hw_init_completed(padapter))
|
||||
return -EPERM;
|
||||
|
||||
if (!p->pointer || p->length != sizeof(struct ieee_param))
|
||||
if (!p->pointer || p->length != (sizeof(struct ieee_param) + 100))
|
||||
return -EINVAL;
|
||||
|
||||
param = (struct ieee_param *)rtw_malloc(p->length);
|
||||
|
Loading…
Reference in New Issue
Block a user