mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-09 23:19:39 +00:00
rtl8188eu: Allow a little extra size for rtw_hostapd_ioctl() packets
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
71af295db5
commit
0924dc8fe0
1 changed files with 1 additions and 1 deletions
|
@ -5530,7 +5530,7 @@ static int rtw_hostapd_ioctl(struct net_device *dev, struct iw_point *p)
|
|||
goto out;
|
||||
}
|
||||
|
||||
if (!p->pointer || p->length > sizeof(struct ieee_param)) {
|
||||
if (!p->pointer || p->length > (sizeof(struct ieee_param) + 100)) {
|
||||
ret = -EINVAL;
|
||||
goto out;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue