[HAL] Increase interface name array size to accomodate P2P group interface
authorSreenath Sharma <sreenats@broadcom.com>
Mon, 23 Nov 2015 09:43:13 +0000 (14:43 +0530)
committerSreenath Sharma <sreenats@broadcom.com>
Mon, 23 Nov 2015 09:43:13 +0000 (14:43 +0530)
commit14563c48353feaae11cce3017f038fb5cff54c5d
tree9f9316c35f4cc8e5dfba4913a8e268ed642885b9
parentd0e22ddfb8026bbab1544aabe3f21aff39a157e2
[HAL] Increase interface name array size to accomodate P2P group interface

Increase interface name array size from 9 (8 + 1) to accommodate P2P
group interface. The P2P group interface name is p2p-wlan0-x, where x
can go up to maximum integer value. Therefore, increasing interface name
array size to 17 (IFNAMSIZ + 1). Otherwise halutil logger commands will
return strcpy() error once P2P group interface is up.

FORTIFY_SOURCE: strcpy: prevented write past end of buffer. Calling
abort().

Change-Id: I666bf4d4687ce05b8e6550fe21a0801e5e2ff42c
Signed-off-by: Sreenath Sharma <sreenats@broadcom.com>
bcmdhd/wifi_hal/common.h