Skip to content

Commit eef1b48

Browse files
author
Cruz Monrreal
authored
Merge pull request #10094 from desmond-blue/fix_ble_gattserver_autorization_list
BLE: Fix ble gattserver autorization list registration
2 parents 1c35b95 + 196a766 commit eef1b48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioGattServer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ ble_error_t GattServer::insert_characteristic_value_attribute(
395395
// characteristic.
396396
// User defined security authorisation does not impact this flag
397397
if ((attribute_it->permissions & (ATTS_PERMIT_READ_AUTHORIZ | ATTS_PERMIT_WRITE_AUTHORIZ)) ||
398-
(attribute_it->permissions & UPDATE_PROPERTIES) ||
398+
(properties & UPDATE_PROPERTIES) ||
399399
characteristic->isReadAuthorizationEnabled() ||
400400
characteristic->isWriteAuthorizationEnabled()
401401
) {

0 commit comments

Comments
 (0)