Diff between 62f0b9b539bc4ab53936149f74a39ed88da69ee1 and 72dddc80def4f6de4c7d30687b0c0b379b79c162
Changed Files
| File | Additions | Deletions | Status |
| btio/btio.c | +1 | -1 | modified |
Full Patch
diff --git a/btio/btio.c b/btio/btio.c
index 14f2b70..b8afe05 100644
--- a/btio/btio.c
+++ b/btio/btio.c
@@ -455,7 +455,7 @@ static gboolean set_sec_level(int sock, BtIOType type, int level, GError **err)
struct bt_security sec;
int ret;
- if (level < BT_SECURITY_LOW || level > BT_SECURITY_HIGH) {
+ if (level < BT_SECURITY_LOW || level > BT_SECURITY_FIPS) {
g_set_error(err, BT_IO_ERROR, EINVAL,
"Valid security level range is %d-%d",
BT_SECURITY_LOW, BT_SECURITY_HIGH);