Commit: 10125a912d7f251e5f01bdfcfa0a3cf5d845be2c
Parent: b104ec8263f1cf6ffad56ebb1edc8adb58a060aa
Author: Grzegorz Kolodziejczyk <grzegorz.kolodziejczyk@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2015-03-12 12:08:00
Tree: c8ae908f92c9661bb14d250cad4314a6d815f776

profiles/network: Fix sending command responses Command response can be three bytes long (in case if command is not understood) 1 byte(packet type) + 1 byte(control type) + 1 byte(unknown control type). Command response can be also four bytes long if it's response for setup connection, filter net type and filter multi addr, 1 byte(packet type) + 1 byte(control type) + 2 byte(response message).

Diffstat

M lib/bnep.h | 6 ++++++
M profiles/network/bnep.c | 60 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - -

2 files changed, 49 insertions(+), 17 deletions(-)

View Full Diff | Patch