summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2016-03-03 13:48:01 +0200
committerAndrei Emeltchenko <andrei.emeltchenko@intel.com>2016-03-04 11:21:27 +0200
commita81c3080a20b8bbe525c303bd354d9a8abae45d0 (patch)
tree312fa5ed504b5a95c9f1010ad7006c8ff23983de
parent21594aa1fd1fd22928364540561701db17f69dfb (diff)
Bluetooth: Fix typo subscribtions to subscriptions
Change-Id: Ibf015e304e34fddf0f508a1951ac504f07e20d83 Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
-rw-r--r--net/bluetooth/gatt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/gatt.c b/net/bluetooth/gatt.c
index 974fa5429..ec2843025 100644
--- a/net/bluetooth/gatt.c
+++ b/net/bluetooth/gatt.c
@@ -621,7 +621,7 @@ static void gatt_subscription_remove(struct bt_conn *conn,
params->notify(conn, params, NULL, 0);
}
-static void remove_subscribtions(struct bt_conn *conn)
+static void remove_subscriptions(struct bt_conn *conn)
{
struct bt_gatt_subscribe_params *params, *prev;
@@ -1635,6 +1635,6 @@ void bt_gatt_disconnected(struct bt_conn *conn)
return;
}
- remove_subscribtions(conn);
+ remove_subscriptions(conn);
#endif /* CONFIG_BLUETOOTH_GATT_CLIENT */
}