Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp200975ybv; Thu, 6 Feb 2020 21:10:34 -0800 (PST) X-Google-Smtp-Source: APXvYqwRSGokcxnk0gPEQLuLH/z5AHaCg28Tq2+CDROyjYw2ES40CLTqehy2D0QJeWDqAmSUHaBf X-Received: by 2002:aca:f1c2:: with SMTP id p185mr945297oih.87.1581052234103; Thu, 06 Feb 2020 21:10:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581052234; cv=none; d=google.com; s=arc-20160816; b=zImuDtI/4hCdWOCqjpAx9k+uXMVYmKxjtpHmkQ3FnS7auq0WnsdphNo3AaPZq5Gn3G UKwi1E738EzFArbFJdrcRgOR2KAwAjxO+Xrn0dMyU52lXMv/8JtcABmkDWyWCYj/We0g rPArYUkFLq29LjeKHIYriaBww0RnR4QiIDlBXH/2hHwDEELZ0OWLe6RSpdYT6QIvJJHl MOZ8cnjchT0IMaxZpgDGQkUTf6RCKgslxmh3+2LE41Aj6BpiOVNfBqgHAmQAV2F7KaCh lkXETUmkw15703NEi4L6CPA9KunOt1AekWvKybW6SyjKv1XwMsCCoV2zf8cI3gT1NPvu sqzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=KqIIU72qYwQpWFzXjdRvYK00adq6+LoLiq7JtRvm0ro=; b=i/r000XoFay6s4UknoFWUlCWjkxrpxEXsuJxDYxvbIyy6P1f1RZ9fKEPJ6FjyM0Aqf K1fhlgt3i1GW2qG/WaVYwyANEbGhqtDiRCFCSJk6dwB3yZ8JM/V70vranJWOUu5abTE3 br7xfK6i/VUcGKASdq77n6yzTP1LMZoGL9QDw0tdRsE02O2L3BU5leDhDoPir181URXw 9cAFt0Vc95HZiMd2klXC/UvhPmDUBxfbpUxKjHpwgaO2Bza644ZJm6v8qndTDt5Y9e3X OJJcyF1hZFD1sAwBmlOb5mFV5034iBKQkSn8FTYydxNz4Hyei8nuVVKvSsxl4M/1O+7S UILA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@konsulko.com header.s=google header.b=RQt47fM6; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 105si1224810otu.45.2020.02.06.21.10.03; Thu, 06 Feb 2020 21:10:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@konsulko.com header.s=google header.b=RQt47fM6; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725872AbgBGFKB (ORCPT + 99 others); Fri, 7 Feb 2020 00:10:01 -0500 Received: from mail-lf1-f45.google.com ([209.85.167.45]:33815 "EHLO mail-lf1-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725837AbgBGFKB (ORCPT ); Fri, 7 Feb 2020 00:10:01 -0500 Received: by mail-lf1-f45.google.com with SMTP id l18so677591lfc.1 for ; Thu, 06 Feb 2020 21:09:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KqIIU72qYwQpWFzXjdRvYK00adq6+LoLiq7JtRvm0ro=; b=RQt47fM6d5DPkTAS/TSIon3idXYtqEP9Opkns0DBN+6V0jmZMW/KPi3j6lUgWvSdTy U5sQ/6a0kXOpXPE2IqH1vHxrFLUNvvVA96/yvMJuSs7dT1atZXhuBFUMvUx4cG90R8XR HxFCrUXtYCQHNb9vyKG2H6HZRTr/x1dcrjE+M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KqIIU72qYwQpWFzXjdRvYK00adq6+LoLiq7JtRvm0ro=; b=S7TItwNIiFyH86fM/anzLhYmYksXWJCK4enPbCiHDrBS7XlUGP0o8atV4QfUS5JFA0 lX2HjoMdWhUXkauTaqbjF/OUO6ktzFvttQAxHxCo/4NJLBsxttOl3SWKm7aBAfVGqSM4 t2HlRMlNUCROOLTP30GtWWfkilCegU52FDovMTf8Np5a4+4mCIn6SbaGvkgpf0tXveYY LiMxPKjMwihBruMmIC46LlVaUaiDYqiukmj/vSUQtUm5mxlvy8Fa4mS7rK5LQ9+4YsES hzasxpdqgTO+ND11aVUXspR+qMDqUAelqwep6eRGNGq8TZsnjRbYB76t53VU9tETmyuX 0o5g== X-Gm-Message-State: APjAAAW41NzEl+pvF4cy3yc0trX41kdwKZIluK/v2rJaeIaXgLo/1i2N rBCsauBhikeduaQ+FlS4zGBM8IZGyy9NN1FF X-Received: by 2002:ac2:5dc8:: with SMTP id x8mr3432032lfq.217.1581052197188; Thu, 06 Feb 2020 21:09:57 -0800 (PST) Received: from virtualbox.ipredator.se (anon-49-167.vpn.ipredator.se. [46.246.49.167]) by smtp.gmail.com with ESMTPSA id r12sm562214ljh.105.2020.02.06.21.09.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Feb 2020 21:09:56 -0800 (PST) From: Matt Ranostay To: linux-bluetooth@vger.kernel.org Cc: Matt Ranostay Subject: [PATCH RESEND] obex: report notification status on incoming message Date: Thu, 6 Feb 2020 21:08:56 -0800 Message-Id: <20200207050856.9249-1-matt.ranostay@konsulko.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org To match doc/obex.txt on incoming message notification the respective Status field should be set. --- obexd/client/map.c | 1 + 1 file changed, 1 insertion(+) diff --git a/obexd/client/map.c b/obexd/client/map.c index 550c5afb4..23be2d6b2 100644 --- a/obexd/client/map.c +++ b/obexd/client/map.c @@ -1914,6 +1914,7 @@ static void map_handle_notification(struct map_event *event, void *user_data) switch (event->type) { case MAP_ET_NEW_MESSAGE: map_handle_new_message(map, event); + map_handle_status_changed(map, event, "notification"); break; case MAP_ET_DELIVERY_SUCCESS: map_handle_status_changed(map, event, "delivery-success"); -- 2.20.1