|
@@ -1106,20 +1106,20 @@ u8 rtw_clearstakey_cmd(struct adapter *padapter, u8 *psta, u8 entry, u8 enqueue)
|
|
|
if (!enqueue) {
|
|
|
clear_cam_entry(padapter, entry);
|
|
|
} else {
|
|
|
- ph2c = kzalloc(sizeof(struct cmd_obj), GFP_KERNEL);
|
|
|
+ ph2c = kzalloc(sizeof(struct cmd_obj), GFP_ATOMIC);
|
|
|
if (ph2c == NULL) {
|
|
|
res = _FAIL;
|
|
|
goto exit;
|
|
|
}
|
|
|
|
|
|
- psetstakey_para = kzalloc(sizeof(struct set_stakey_parm), GFP_KERNEL);
|
|
|
+ psetstakey_para = kzalloc(sizeof(struct set_stakey_parm), GFP_ATOMIC);
|
|
|
if (psetstakey_para == NULL) {
|
|
|
kfree(ph2c);
|
|
|
res = _FAIL;
|
|
|
goto exit;
|
|
|
}
|
|
|
|
|
|
- psetstakey_rsp = kzalloc(sizeof(struct set_stakey_rsp), GFP_KERNEL);
|
|
|
+ psetstakey_rsp = kzalloc(sizeof(struct set_stakey_rsp), GFP_ATOMIC);
|
|
|
if (psetstakey_rsp == NULL) {
|
|
|
kfree(ph2c);
|
|
|
kfree(psetstakey_para);
|