qcacmn: Address minor HTC review comments
Address minor review comments raised against previous change Ic417f6b008fdc769227c7a23bc8e01a2064ce928. Specifically, remove function recv_packet_completion() and member EpRecvPktMultiple from struct htc_ep_callbacks. Change-Id: I431579356664ad6a6274f58352adf8ce273e084f CRs-Fixed: 2168647
This commit is contained in:

committad av
snandini

förälder
5428570e41
incheckning
1e61fbc2a0
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2013-2017 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2013-2018 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
||||
*
|
||||
@@ -116,15 +116,6 @@ static void do_recv_completion(HTC_ENDPOINT *pEndpoint,
|
||||
}
|
||||
}
|
||||
|
||||
static void recv_packet_completion(HTC_TARGET *target, HTC_ENDPOINT *pEndpoint,
|
||||
HTC_PACKET *pPacket)
|
||||
{
|
||||
do_recv_completion_pkt(pEndpoint, pPacket);
|
||||
|
||||
/* recover the packet container */
|
||||
free_htc_packet_container(target, pPacket);
|
||||
}
|
||||
|
||||
void htc_control_rx_complete(void *Context, HTC_PACKET *pPacket)
|
||||
{
|
||||
/* TODO, can't really receive HTC control messages yet.... */
|
||||
@@ -504,7 +495,11 @@ QDF_STATUS htc_rx_completion_handler(void *Context, qdf_nbuf_t netbuf,
|
||||
qdf_nbuf_pull_head(netbuf, HTC_HEADER_LEN);
|
||||
qdf_nbuf_set_pktlen(netbuf, pPacket->ActualLength);
|
||||
|
||||
recv_packet_completion(target, pEndpoint, pPacket);
|
||||
do_recv_completion_pkt(pEndpoint, pPacket);
|
||||
|
||||
/* recover the packet container */
|
||||
free_htc_packet_container(target, pPacket);
|
||||
|
||||
netbuf = NULL;
|
||||
|
||||
} while (false);
|
||||
|
Referens i nytt ärende
Block a user