3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-06 03:18:46 +02:00

rrm: fix invalid IE tag when rejecting request

The rejection report actually contained a request IE, not a report IE
This commit is contained in:
James Prestwood 2019-11-15 09:01:03 -08:00 committed by Denis Kenzior
parent f2a7966897
commit 5528403d77

View File

@ -196,7 +196,7 @@ static void rrm_reject_measurement_request(struct rrm_state *rrm,
frame[0] = 0x05; /* Category: Radio Measurement */
frame[1] = 0x01; /* Action: Radio Measurement Report */
frame[2] = info->dialog_token;
frame[3] = IE_TYPE_MEASUREMENT_REQUEST;
frame[3] = IE_TYPE_MEASUREMENT_REPORT;
frame[4] = 3;
frame[5] = info->mtoken;
frame[6] = mode;