Add ifname to vlan_remove_dynamic() debug print
This makes it easier to interpret debug logs for cases where hostapd control multiple interfaces. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
2e192bd08f
commit
1acf38f1a5
1 changed files with 2 additions and 1 deletions
|
@ -959,7 +959,8 @@ int vlan_remove_dynamic(struct hostapd_data *hapd, int vlan_id)
|
||||||
if (vlan_id <= 0 || vlan_id > MAX_VLAN_ID)
|
if (vlan_id <= 0 || vlan_id > MAX_VLAN_ID)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
wpa_printf(MSG_DEBUG, "VLAN: %s(vlan_id=%d)", __func__, vlan_id);
|
wpa_printf(MSG_DEBUG, "VLAN: %s(ifname=%s vlan_id=%d)",
|
||||||
|
__func__, hapd->conf->iface, vlan_id);
|
||||||
|
|
||||||
vlan = hapd->conf->vlan;
|
vlan = hapd->conf->vlan;
|
||||||
while (vlan) {
|
while (vlan) {
|
||||||
|
|
Loading…
Reference in a new issue