Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5714923ybi; Sun, 7 Jul 2019 10:56:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqwtBwL8KofQjUZKhyA4UJaBz2k/cgNnHwO4zmH8GEereWdqpKMw17stLlj+4CVDR1h0DUvM X-Received: by 2002:a17:90a:5288:: with SMTP id w8mr19904948pjh.61.1562522169495; Sun, 07 Jul 2019 10:56:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562522169; cv=none; d=google.com; s=arc-20160816; b=yO59zlZssvMXHbSh93DU5kWpTWJx6lxvCZtUlufQn/D7kE6t+zIqGMlqPV3Giy57J2 QvYkQNVjATOf18sMyIjp3d0yNw+ks6H0jnq2oVP6U3vJmNrcr1VhRWVmT5HtdqTLphl9 ELYmWdmUt+9i0+1wHuqK0Cje/ODnQU71uqhejFqQx5B6lgINCe/pIGZy+pwpC91eCik3 4xome66hitu9ekbuI3ZG9VGfUoVwyMGPmufCf5YB4OFPkPUDVAjZ0ptznKSwqT22M5iJ 1Dau1iMt9MmW8Fwy3XsPrrXXUIe/OxRPur51SXmRhsDhAlYSFvEkugSNo25nFtFNZFjI I9vQ== 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=LJMIBsz2ckqyqVo2nZZTcM92d3r3PcdPPI2W3CowX96DB4cV5Hbj8xrUIs2a0WYoh+ LeqwE1Dkr4cVhrRpoWqfXRUPtC/bHkNXurpAvA+VbswnuxNHFuVL3ebuoE5jAege+Euy sa8QJXziX+ZfLqU76Qlx9O+b3raKXKRawIkPqQT5a4pEYpJ66hwYGjOWOtuP1TCJEmZ6 4Ug6SOOPu2IhyuVfg0vU7yLLPISgHagCMT/AsF7haNL5zvvKwTK9hn8A2lH2ZDMHsp5L oc/SSg6x/fctlCzB5Yz0hrtoUnXl+Wis3VJkhP7pOJoQFoYvfRm7Ta8pxbWJAqBfw8Fc nR/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@konsulko.com header.s=google header.b=mzFUOWni; 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 m9si11344200pll.333.2019.07.07.10.55.37; Sun, 07 Jul 2019 10:56:09 -0700 (PDT) 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=mzFUOWni; 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 S1727383AbfGGR1z (ORCPT + 99 others); Sun, 7 Jul 2019 13:27:55 -0400 Received: from mail-lj1-f172.google.com ([209.85.208.172]:39765 "EHLO mail-lj1-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727260AbfGGR1z (ORCPT ); Sun, 7 Jul 2019 13:27:55 -0400 Received: by mail-lj1-f172.google.com with SMTP id v18so13582997ljh.6 for ; Sun, 07 Jul 2019 10:27:54 -0700 (PDT) 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=mzFUOWnilUXUmk1CZkUHDSTyVlzJmU8Ipb7zKzJuJrI75A70xp7TF+I4Ul8Qg8dsw6 ZgUKPPdyvOXGt7O/vcqBxLJjp0S8OR3R4kP+leJWqEXKcNY+tSJVVoe0VBFzs6RghPmu 2948Je16Z81jELemFSmnB20pi2ByTWVwXMvjo= 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=c+lh6fnmCVEn+bf0jkXL9r1yPL2hUeIfEUvLuiwUvhq9wQKxKChOmfFtONoGEl8+vT dTR7TaGNExrZhMNiJD1bbxykHicSZDxGyuXlUF2L88HIn+IvIwOVo/ej3HYukvjUXRgI mcZtCdj1YFHUUAMPAjbPLL453encYXYfLpuEngHOwLCZpJruMsIPbbyAp0yLq+DSGhKD jerPC21ivk68HJ6CchpM1GFM8HtoxiuRorA3B1a+AWRBWmOHt0jo3QMLKkUTzkwLzW0Y 60cYHZzaZBDo17LOVTkOd82FWqcujtZUlSpk6sPyrdGk/o6X2rUpC0TITFWe3S+W293O EJuw== X-Gm-Message-State: APjAAAUeRwF/NLogc+uZ/VFnloxb4S8SW2gMvbOganGeMX5YXb7LQ0gn R3ylwM1U6zIIpvkttCxus4CapvGYRKDyOoo2 X-Received: by 2002:a2e:7c15:: with SMTP id x21mr7871859ljc.55.1562520473339; Sun, 07 Jul 2019 10:27:53 -0700 (PDT) Received: from virtualbox.ipredator.se (anon-49-184.vpn.ipredator.se. [46.246.49.184]) by smtp.gmail.com with ESMTPSA id b68sm1320732ljb.0.2019.07.07.10.27.50 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 07 Jul 2019 10:27:52 -0700 (PDT) From: Matt Ranostay To: linux-bluetooth@vger.kernel.org Cc: Matt Ranostay Subject: [PATCH BlueZ] obex: client: map: report notification status on incoming message Date: Sun, 7 Jul 2019 10:27:46 -0700 Message-Id: <20190707172746.4099-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