/* GATT caching is not supported yet.
Once it supported, need to handle svc changed indication */
- if (opcode == BT_ATT_OP_HANDLE_VAL_IND && !client->parent) {
+ if (opcode == BT_ATT_OP_HANDLE_VAL_IND && !client->parent
+ && !client->discovery_req) {
util_debug(client->debug_callback, client->debug_data,
- "Client is not ready. No need handling svc changed indication before full scan");
+ "Service browsing is not started. No need handling svc changed indication before starting full scan");
bt_att_send(client->att, BT_ATT_OP_HANDLE_VAL_CONF, NULL, 0,
NULL, NULL, NULL);
return;