OSDN Git Service

tools/btmgmt: Fix bogus comment in eir_get_flags function
authorSzymon Janc <szymon.janc@tieto.com>
Wed, 2 Apr 2014 10:29:58 +0000 (12:29 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 2 Apr 2014 10:43:00 +0000 (13:43 +0300)
This was due to copy-and-paste.

tools/btmgmt.c

index aee6841..48d42a3 100644 (file)
@@ -360,7 +360,7 @@ static unsigned int eir_get_flags(const uint8_t *eir, uint16_t eir_len)
                if (parsed > eir_len)
                        break;
 
-               /* Check for short of complete name */
+               /* Check for flags */
                if (eir[1] == 0x01)
                        return eir[2];