Diff between 47821c473102fe527b5447076987f70e9fcf8c72 and 2e4327816587ee7d2e3238268cacbdf40faa4b0e

Changed Files

File Additions Deletions Status
src/advertising.c +1 -1 modified

Full Patch

diff --git a/src/advertising.c b/src/advertising.c
index 15ef44d..42ac627 100644
--- a/src/advertising.c
+++ b/src/advertising.c
@@ -1051,7 +1051,7 @@ static bool parse_secondary(DBusMessageIter *iter,
 		return false;
 
 	/* Reset secondary channels before parsing */
-	client->flags &= 0xfe00;
+	client->flags &= ~MGMT_ADV_FLAG_SEC_MASK;
 
 	dbus_message_iter_get_basic(iter, &str);