public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] main: Validate the AdvMon scan parameters correctly
@ 2025-11-27 12:42 Sebastian Forslund
  2025-11-27 13:30 ` bluez.test.bot
  2025-12-02 14:30 ` [PATCH] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Sebastian Forslund @ 2025-11-27 12:42 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Sebastian Forslund

The strings used for validating the main.conf parameters are different
from the ones used to fetch the values. Change the validation strings to
match the code and comment in main.conf.
---
 src/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main.c b/src/main.c
index 1c7390e63..558bf2888 100644
--- a/src/main.c
+++ b/src/main.c
@@ -120,8 +120,8 @@ static const char *le_options[] = {
 	"ScanWindowSuspend",
 	"ScanIntervalDiscovery",
 	"ScanWindowDiscovery",
-	"ScanIntervalAdvMonitoring",
-	"ScanWindowAdvMonitoring",
+	"ScanIntervalAdvMonitor",
+	"ScanWindowAdvMonitor",
 	"ScanIntervalConnect",
 	"ScanWindowConnect",
 	"MinConnectionInterval",
-- 
2.39.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-12-02 14:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-27 12:42 [PATCH] main: Validate the AdvMon scan parameters correctly Sebastian Forslund
2025-11-27 13:30 ` bluez.test.bot
2025-12-02 14:30 ` [PATCH] " patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox