Remove compiler warning for non-P2P builds
This commit is contained in:
parent
f07ead6af9
commit
ceb34f250a
1 changed files with 2 additions and 0 deletions
|
@ -292,7 +292,9 @@ static int wpa_supplicant_ctrl_iface_wps_pbc(struct wpa_supplicant *wpa_s,
|
|||
char *cmd)
|
||||
{
|
||||
u8 bssid[ETH_ALEN], *_bssid = bssid;
|
||||
#ifdef CONFIG_P2P
|
||||
u8 p2p_dev_addr[ETH_ALEN], *_p2p_dev_addr = NULL;
|
||||
#endif /* CONFIG_P2P */
|
||||
|
||||
if (cmd == NULL || os_strcmp(cmd, "any") == 0) {
|
||||
_bssid = NULL;
|
||||
|
|
Loading…
Reference in a new issue