Diff between 67fc00db39fb50d452f52e977428146342143035 and 4f8d6ba3531fc2d27d17a54e073e3db529fc1cf5
Changed Files
| File | Additions | Deletions | Status |
| plugins/hciops.c | +1 | -1 | modified |
Full Patch
diff --git a/plugins/hciops.c b/plugins/hciops.c
index c46465a..4225cd8 100644
--- a/plugins/hciops.c
+++ b/plugins/hciops.c
@@ -1584,7 +1584,7 @@ static void read_local_name_complete(int index, read_local_name_rp *rp)
hci_send_cmd(dev->sk, OGF_INFO_PARAM,
OCF_READ_LOCAL_VERSION, 0, NULL);
- if (!dev->pending)
+ if (!dev->pending && dev->up)
init_adapter(index);
}