|
|
@@ -2292,7 +2292,7 @@ static void Handle_AddBeacon(struct host_if_drv *hif_drv,
|
|
|
*pu8CurrByte++ = ((pstrSetBeaconParam->tail_len >> 16) & 0xFF);
|
|
|
*pu8CurrByte++ = ((pstrSetBeaconParam->tail_len >> 24) & 0xFF);
|
|
|
|
|
|
- if (pstrSetBeaconParam->tail > 0)
|
|
|
+ if (pstrSetBeaconParam->tail)
|
|
|
memcpy(pu8CurrByte, pstrSetBeaconParam->tail, pstrSetBeaconParam->tail_len);
|
|
|
pu8CurrByte += pstrSetBeaconParam->tail_len;
|
|
|
|