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

Commit 1689b46b authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "net: qualcomm: rmnet: memset before sending genl response"

parents d707405c 176daea8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -319,9 +319,9 @@ int rmnet_core_genl_pid_bps_req_hdlr(struct sk_buff *skb_2,
		rmnet_core_userspace_connected = 1;

	/* Copy to pid/byte list to the payload */
	if (is_req_valid) {
	memset(&pid_bps_resp, 0x0,
	       sizeof(pid_bps_resp));
	if (is_req_valid) {
		rmnet_create_pid_bps_resp(&pid_bps_resp);
	}
	pid_bps_resp.valid = 1;