Diff between bcd94a8e9df8b721ae7bc3fd879f923bab87275e and 825fa14fba8ab45be894f63ee516f1281a9713fb
Changed Files
| File | Additions | Deletions | Status |
| tools/btgatt-server.c | +1 | -1 | modified |
Full Patch
diff --git a/tools/btgatt-server.c b/tools/btgatt-server.c
index 09a123c..9eeea3b 100644
--- a/tools/btgatt-server.c
+++ b/tools/btgatt-server.c
@@ -1004,7 +1004,7 @@ static bool remote_counter(uint32_t *sign_cnt, void *user_data)
if (*sign_cnt < cnt)
return false;
- cnt++;
+ cnt = *sign_cnt;
return true;
}