arch/sim: Don't potect recvsem in bthcitty_pollnotify
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
eabb2fbf38
commit
db0b661f37
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user