From 16a2d19feef11a10aa91d4a6962f0ce2465cfa55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deronne?= Date: Tue, 7 Aug 2018 12:45:56 +0200 Subject: [PATCH] network: (fixes #2948) Allow priority settings up to value 7 --- RELEASE_NOTES | 1 + src/network/model/socket.cc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE_NOTES b/RELEASE_NOTES index fcb89b618..e301f587e 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -47,6 +47,7 @@ Bugs fixed - Bug 2926 - wifi: SSRC and SLRC mechanism not fully aligned to the standard - Bug 2931 - Queue Disc drops the CE marked packets - Bug 2941 - wifi: Order bit of Frame control field of WifiMacHeader not correctly set for some frames +- Bug 2948 - network: SetPriority does not support value 7 - Bug 2964 - wifi: IdealWifiManager keeps using the same MCS when all transmissions fail Known issues diff --git a/src/network/model/socket.cc b/src/network/model/socket.cc index 69a05e8a4..73feb39ac 100644 --- a/src/network/model/socket.cc +++ b/src/network/model/socket.cc @@ -388,7 +388,7 @@ Socket::IsManualIpv6HopLimit (void) const void Socket::SetPriority (uint8_t priority) { - if (priority <= 6) + if (priority <= 7) { m_priority = priority; }