OSDN Git Service

Fix unnecessary error message during GATT discovery
authorJakub Pawlowski <jpawlowski@google.com>
Mon, 26 Sep 2016 21:05:18 +0000 (14:05 -0700)
committerJakub Pawlowski <jpawlowski@google.com>
Mon, 26 Sep 2016 21:07:11 +0000 (14:07 -0700)
Bug: 31637098
Change-Id: Ib2545e7827bd338d2e22c88836818fce23e7a057

btif/src/btif_gatt_client.c

index c70fa49..7ad4f08 100644 (file)
@@ -497,6 +497,12 @@ static void btif_gattc_upstreams_evt(uint16_t event, char* p_param)
             break;
         }
 
+        case BTA_GATTC_SEARCH_RES_EVT:
+        {
+            /* Do nothing */
+            break;
+        }
+
         case BTA_GATTC_READ_DESCR_EVT:
         {
             btgatt_read_params_t data;