qcacld-3.0: Fix format build error
This fixes below build error. format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'unsigned int' [-Werror=format=] Change-Id: I54b2e171ab5c7799af3e23a5d1fd8d4cb3034983 CRs-Fixed: 2344741
This commit is contained in:
parent
2a9399ba8f
commit
8196e0a900
@ -2709,7 +2709,8 @@ static QDF_STATUS wma_store_bcn_tmpl(tp_wma_handle wma, uint8_t vdev_id,
|
||||
len = *(uint32_t *) &bcn_info->beacon[0];
|
||||
if (len > SIR_MAX_BEACON_SIZE - sizeof(uint32_t)) {
|
||||
WMA_LOGE("%s: Received beacon len %u exceeding max limit %lu",
|
||||
__func__, len, SIR_MAX_BEACON_SIZE - sizeof(uint32_t));
|
||||
__func__, len, (unsigned long)(
|
||||
SIR_MAX_BEACON_SIZE - sizeof(uint32_t)));
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
WMA_LOGD("%s: Storing received beacon template buf to local buffer",
|
||||
|
Loading…
Reference in New Issue
Block a user