From 9bae9813abf29344cc3d84af2ee59efd9e9e78fc Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 4 Mar 2011 16:21:52 -0300 Subject: [PATCH] Remove check for adapter->up for read_local_name_complete Due to recent kernel changes we could be receiving these command complete events even though HCIDEVUP hasn't completed yet. --- plugins/hciops.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/hciops.c b/plugins/hciops.c index fd19ef498..c46465adc 100644 --- a/plugins/hciops.c +++ b/plugins/hciops.c @@ -1569,9 +1569,6 @@ static void read_local_name_complete(int index, read_local_name_rp *rp) DBG("Got name for hci%d", index); - if (!dev->up) - return; - /* Even though it shouldn't happen (assuming the kernel behaves * properly) it seems like we might miss the very first * initialization commands that the kernel sends. So check for -- 2.47.3