mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-21 20:13:39 +00:00
rtl8188eu: Fix scheduling while atomic splat
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
2aaaa4bb71
commit
c0e2cc7988
2 changed files with 3 additions and 3 deletions
|
@ -1867,13 +1867,13 @@ u8 rtw_chk_hi_queue_cmd(struct adapter *padapter)
|
||||||
struct cmd_priv *pcmdpriv = &padapter->cmdpriv;
|
struct cmd_priv *pcmdpriv = &padapter->cmdpriv;
|
||||||
u8 res = _SUCCESS;
|
u8 res = _SUCCESS;
|
||||||
|
|
||||||
ph2c = kzalloc(sizeof(struct cmd_obj), GFP_KERNEL);
|
ph2c = kzalloc(sizeof(struct cmd_obj), GFP_ATOMIC);
|
||||||
if (ph2c == NULL) {
|
if (ph2c == NULL) {
|
||||||
res = _FAIL;
|
res = _FAIL;
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
pdrvextra_cmd_parm = kzalloc(sizeof(struct drvextra_cmd_parm), GFP_KERNEL);
|
pdrvextra_cmd_parm = kzalloc(sizeof(struct drvextra_cmd_parm), GFP_ATOMIC);
|
||||||
if (pdrvextra_cmd_parm == NULL) {
|
if (pdrvextra_cmd_parm == NULL) {
|
||||||
kfree(ph2c);
|
kfree(ph2c);
|
||||||
res = _FAIL;
|
res = _FAIL;
|
||||||
|
|
|
@ -5591,7 +5591,7 @@ static int rtw_hostapd_ioctl(struct net_device *dev, struct iw_point *p)
|
||||||
ret = rtw_ioctl_acl_remove_sta(dev, param, p->length);
|
ret = rtw_ioctl_acl_remove_sta(dev, param, p->length);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
DBG_88E("Unknown hostapd request: %d\n", param->cmd);
|
pr_info("Unknown hostapd request: %d\n", param->cmd);
|
||||||
ret = -EOPNOTSUPP;
|
ret = -EOPNOTSUPP;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue