Return-Path: From: Andrei Emeltchenko To: linux-bluetooth@vger.kernel.org Subject: [PATCH] android/gatt: Fix unneeded increment Date: Mon, 6 Oct 2014 10:49:39 +0300 Message-Id: <1412581779-22424-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: From: Andrei Emeltchenko --- android/gatt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/gatt.c b/android/gatt.c index dbe067f..ecd1813 100644 --- a/android/gatt.c +++ b/android/gatt.c @@ -3169,7 +3169,7 @@ static guint signed_write_cmd(struct gatt_device *dev, uint16_t handle, return 0; } - bt_update_sign_counter(&dev->bdaddr, LOCAL_CSRK, sign_cnt++); + bt_update_sign_counter(&dev->bdaddr, LOCAL_CSRK, sign_cnt); return res; } -- 1.9.1