mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-24 17:36:15 +00:00
change(bt/bluedroid): Some minor changes in bluedroid
- Increase the number of BTM security records for services - Fix a coding style issue in OBEX and GOEP
This commit is contained in:
@@ -491,7 +491,7 @@ UINT16 OBEX_AppendHeaderRaw(BT_HDR *pkt, UINT8 header_id, const UINT8 *data, UIN
|
||||
return OBEX_INVALID_PARAM;
|
||||
}
|
||||
|
||||
if ((data == NULL) ^ (data_len == 0)) {
|
||||
if ((data == NULL && data_len != 0) || (data != NULL && data_len == 0)) {
|
||||
return OBEX_INVALID_PARAM;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user