apache-mynewt-bot commented on issue #790: nimble/store: Fix nimble store 
behavior when CCCDs exceed static defined limit
URL: https://github.com/apache/mynewt-nimble/pull/790#issuecomment-608526892
 
 
   
   <!-- style-bot -->
   
   ## Style check summary
   
   ### Our coding style is 
[here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md)
   
   
   #### nimble/host/src/ble_store_util.c
   <details>
   
   ```diff
   @@ -326,7 +326,7 @@
            case BLE_STORE_OBJ_TYPE_PEER_SEC:
                return ble_gap_unpair_oldest_peer();
            case BLE_STORE_OBJ_TYPE_CCCD:
   -            if (( rc = ble_gap_unpair_oldest_peer()) == BLE_HS_ENOENT) {
   +            if ((rc = ble_gap_unpair_oldest_peer()) == BLE_HS_ENOENT) {
                    /* No peer to unpair in overflow event. Here bonds do not
                     * exist but CCCDs are stored. Need to delete CCCDs of
                     * other peer address to make space.*/
   ```
   
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to