arch/sim: Don't potect recvsem in bthcitty_pollnotify

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2021-01-18 04:33:57 +08:00 committed by Alan Carvalho de Assis
parent eabb2fbf38
commit db0b661f37

View File

@ -151,9 +151,8 @@ static void bthcitty_pollnotify(FAR struct bthcitty_s *dev,
}
}
bthcitty_post(&dev->recvsem);
nxsem_post(&dev->fdslock);
bthcitty_post(&dev->recvsem);
}
static int bthcitty_open(FAR struct file *filep)