Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 649cffbc authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Revert "USB: rndis: Free the rndis response queue during rndis reset msg"" into msm-4.9

parents b1dc41a7 20038eca
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -690,12 +690,6 @@ static int rndis_reset_response(struct rndis_params *params,
{
	rndis_reset_cmplt_type *resp;
	rndis_resp_t *r;
	u8 *xbuf;
	u32 length;

	/* drain the response queue */
	while ((xbuf = rndis_get_next_response(params, &length)))
		rndis_free_response(params, xbuf);

	r = rndis_add_response(params, sizeof(rndis_reset_cmplt_type));
	if (!r)