Include own MAC address in status info even in non-P2P builds
This commit is contained in:
parent
13b9f3a1f9
commit
b21e2c84f1
1 changed files with 1 additions and 1 deletions
|
@ -762,13 +762,13 @@ static int wpa_supplicant_ctrl_iface_status(struct wpa_supplicant *wpa_s,
|
|||
return pos - buf;
|
||||
pos += ret;
|
||||
}
|
||||
#endif /* CONFIG_P2P */
|
||||
|
||||
ret = os_snprintf(pos, end - pos, "address=" MACSTR "\n",
|
||||
MAC2STR(wpa_s->own_addr));
|
||||
if (ret < 0 || ret >= end - pos)
|
||||
return pos - buf;
|
||||
pos += ret;
|
||||
#endif /* CONFIG_P2P */
|
||||
|
||||
if (wpa_key_mgmt_wpa_ieee8021x(wpa_s->key_mgmt) ||
|
||||
wpa_s->key_mgmt == WPA_KEY_MGMT_IEEE8021X_NO_WPA) {
|
||||
|
|
Loading…
Reference in a new issue