fix l2cap_reject

This commit is contained in:
matthias.ringwald@gmail.com 2014-01-24 15:58:42 +00:00
parent 2947ae0b28
commit 5ca8d57be3
2 changed files with 2 additions and 2 deletions

View File

@ -473,7 +473,7 @@ void l2cap_run(void){
}
break;
case COMMAND_REJECT:
l2cap_send_signaling_packet(handle, COMMAND_REJECT, sig_id, result);
l2cap_send_signaling_packet(handle, COMMAND_REJECT, sig_id, result, 0, NULL);
break;
default:
// should not happen

View File

@ -46,7 +46,7 @@
#include <string.h>
static const char *l2cap_signaling_commands_format[] = {
"D", // 0x01 command reject: reason {cmd not understood (0), sig MTU exceeded (2:max sig MTU), invalid CID (4:req CID)}, data len, data
"2D", // 0x01 command reject: reason {cmd not understood (0), sig MTU exceeded (2:max sig MTU), invalid CID (4:req CID)}, data len, data
"22", // 0x02 connection request: PSM, Source CID
"2222", // 0x03 connection response: Dest CID, Source CID, Result, Status
"22D", // 0x04 config request: Dest CID, Flags, Configuration options