Commit 3194f684 authored by Martin Kaiser's avatar Martin Kaiser Committed by Greg Kroah-Hartman
Browse files

staging: r8188eu: use defines for addba response status



Replace the numeric values with defines from ieee80211.h.

Suggested-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarMartin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220515152759.335889-1-martin@kaiser.cx


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fed63283
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1504,7 +1504,8 @@ unsigned int OnAction_back(struct adapter *padapter, struct recv_frame *precv_fr
		preorder_ctrl->enable = pmlmeinfo->bAcceptAddbaReq;

		issue_action_BA(padapter, mgmt->sa, WLAN_ACTION_ADDBA_RESP,
				pmlmeinfo->bAcceptAddbaReq ? 0 : 37);
				pmlmeinfo->bAcceptAddbaReq ?
					WLAN_STATUS_SUCCESS : WLAN_STATUS_REQUEST_DECLINED);
		break;
	case WLAN_ACTION_ADDBA_RESP:
		tid = u16_get_bits(le16_to_cpu(mgmt->u.action.u.addba_resp.capab),