public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] main: Fix wrong option name in LE options array
@ 2025-11-28  1:58 Hermes Zhang
  2025-11-28  3:35 ` bluez.test.bot
  2025-12-02 14:30 ` [PATCH] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Hermes Zhang @ 2025-11-28  1:58 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Hermes Zhang

From: Hermes Zhang <chenhuiz@axis.com>

Correct the name of "AdvMonitoring" to "AdvMonitor" for consistency
with Bluetooth Low Energy (LE) terminology in the le_options array.

- ScanIntervalAdvMonitoring -> ScanIntervalAdvMonitor
- ScanWindowAdvMonitoring -> ScanWindowAdvMonitor

This will remove the confuse warning message:

bluetoothd[973]: ... /main.c:check_options() Unknown key ScanIntervalAdvMonitor for group LE in /etc/bluetooth/main.conf
bluetoothd[973]: ... /main.c:check_options() Unknown key ScanWindowAdvMonitor for group LE in /etc/bluetooth/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.49.0


^ 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-28  1:58 [PATCH] main: Fix wrong option name in LE options array Hermes Zhang
2025-11-28  3:35 ` 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