Bluetooth: Simplify device type check for AMP discover response
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 6 Oct 2013 09:08:35 +0000 (02:08 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 6 Oct 2013 09:12:47 +0000 (11:12 +0200)
commite8803534a03ddfcb37bd3d6cb981c5131a5bd993
treea4c98214a539c69d5ca8ef942c51a0a79d730aae
parent01cd340427ab01a744a539981bcc4ef00e5ad133
Bluetooth: Simplify device type check for AMP discover response

When counting the number for AMP controllers, a positive check is
used. To be consistent, use the same check when actually adding
the data for the AMP contollers.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/a2mp.c
This page took 0.025539 seconds and 5 git commands to generate.