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

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

Merge "msm: ipa4: null terminate FST dev name"

parents bf533af9 9e6a1a20
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2653,6 +2653,10 @@ static long ipa3_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
			retval = -EFAULT;
			break;
		}

		/* null terminate the string */
		fst_switch.netdev_name[IPA_RESOURCE_NAME_MAX - 1] = '\0';

		retval = ipa_wigig_send_msg(WIGIG_FST_SWITCH,
			fst_switch.netdev_name,
			fst_switch.client_mac_addr,