staging: r8188eu: use defines for addba response status

Replace the numeric values with defines from ieee80211.h.

Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220515152759.335889-1-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Martin Kaiser 2022-05-15 17:27:59 +02:00 committed by Greg Kroah-Hartman
parent fed6328357
commit 3194f684ac
1 changed files with 2 additions and 1 deletions

View File

@ -1504,7 +1504,8 @@ unsigned int OnAction_back(struct adapter *padapter, struct recv_frame *precv_fr
preorder_ctrl->enable = pmlmeinfo->bAcceptAddbaReq; preorder_ctrl->enable = pmlmeinfo->bAcceptAddbaReq;
issue_action_BA(padapter, mgmt->sa, WLAN_ACTION_ADDBA_RESP, issue_action_BA(padapter, mgmt->sa, WLAN_ACTION_ADDBA_RESP,
pmlmeinfo->bAcceptAddbaReq ? 0 : 37); pmlmeinfo->bAcceptAddbaReq ?
WLAN_STATUS_SUCCESS : WLAN_STATUS_REQUEST_DECLINED);
break; break;
case WLAN_ACTION_ADDBA_RESP: case WLAN_ACTION_ADDBA_RESP:
tid = u16_get_bits(le16_to_cpu(mgmt->u.action.u.addba_resp.capab), tid = u16_get_bits(le16_to_cpu(mgmt->u.action.u.addba_resp.capab),