diff --git a/core/hdd/src/wlan_hdd_wext.c b/core/hdd/src/wlan_hdd_wext.c index 46973971ee..dac27da4d5 100644 --- a/core/hdd/src/wlan_hdd_wext.c +++ b/core/hdd/src/wlan_hdd_wext.c @@ -12212,7 +12212,6 @@ static int __iw_set_pno(struct net_device *dev, return -EINVAL; } qdf_mem_copy(data, extra, (len-1)); - data[len] = '\0'; ptr = data; if (1 != sscanf(ptr, " %hhu %n", &value, &offset)) {