File tree 1 file changed +2
-2
lines changed
connectivity/FEATURE_BLE/source/generic
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1233,20 +1233,20 @@ ble_error_t Gap::reset()
1233
1233
#endif
1234
1234
1235
1235
#if BLE_ROLE_BROADCASTER
1236
+ #if BLE_FEATURE_EXTENDED_ADVERTISING
1236
1237
/* clear advertising set data on the controller */
1237
1238
_pal_gap.clear_advertising_sets ();
1238
- #if BLE_FEATURE_EXTENDED_ADVERTISING
1239
1239
/* reset pending advertising sets */
1240
1240
_advertising_enable_command_params.number_of_handles = 0 ;
1241
1241
_process_enable_queue_pending = false ;
1242
1242
_process_disable_queue_pending = false ;
1243
1243
_existing_sets.clear ();
1244
+ _pending_stop_sets.clear ();
1244
1245
#if BLE_FEATURE_PERIODIC_ADVERTISING
1245
1246
_active_periodic_sets.clear ();
1246
1247
#endif // BLE_FEATURE_PERIODIC_ADVERTISING
1247
1248
#endif // BLE_FEATURE_EXTENDED_ADVERTISING
1248
1249
_active_sets.clear ();
1249
- _pending_stop_sets.clear ();
1250
1250
_pending_sets.clear ();
1251
1251
_address_refresh_sets.clear ();
1252
1252
_interruptible_sets.clear ();
You can’t perform that action at this time.
0 commit comments