Parent: e85450cc32c7bf188baeb399a7a49f09dc6c3ff8
Author: Luiz Augusto von Dentz <luiz.dentz-von@nokia.com>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:48:16
Tree: ea95bb3a9e89a9ab2aefb3b1d0feef6cc146c9a8
obexd: Fix regression on opp put when name is not set OBEX specification 1.3 says: "Though the Name header is very useful for operations like file transfer, it is optional" To fix this the drivers .chkput can now return -EBADR which will be translated to bad request, so in case of opp if the auto answer is not active it will let the agent to set a proper name to the object.
Diffstat
| M | obexd/plugins/ftp.c | | | 3 | +++ |
| M | obexd/plugins/opp.c | | | 4 | ++++ |
| M | obexd/src/obex.c | | | 10 | ++++- - - - - - |
3 files changed, 11 insertions(+), 6 deletions(-)