actually close serial port on transport->close

This commit is contained in:
matthias.ringwald 2009-06-03 21:33:31 +00:00
parent 7301ad89bc
commit c095e79e4d
2 changed files with 2 additions and 1 deletions

View File

@ -45,6 +45,6 @@ $(NAME): $(SRCS)
$(CXX) $(CXXFLAGS) -o $(NAME) $(filter %.mm,$^) $(filter %.m,$^) $(filter %.c,$^) $(LDFLAGS)
export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S $(NAME)
ssh root@192.168.3.102 rm -f BTdaemon
scp $(NAME) root@192.168.3.102:.
scp $(NAME) root@192.168.3.102:/var/mobile
.PHONY: all clean

View File

@ -108,6 +108,7 @@ static int h4_open(void *transport_config){
static int h4_close(){
hci_dump_close();
close(fd);
return 0;
}