Bug 197709 - Log messages on wrong device when running hostapd on multiple interfaces.
Summary: Log messages on wrong device when running hostapd on multiple interfaces.
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: wireless (show other bugs)
Version: 10.1-RELEASE
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-wireless (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-16 16:24 UTC by peter
Modified: 2019-01-20 21:01 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description peter 2015-02-16 16:24:28 UTC
When using hostapd on multiple network devices at the same time (hostapd /etc/wlan0.conf /etc/wlan1.conf ...) it seems that it always logs on the last configured interface. This gives incorrect log messages like:

Feb 16 17:12:51 gw hostapd: wlan2: STA 9c:fb:da:a6:2b:14 IEEE 802.11: disassociated due to inactivity

even if the message is really about wlan0
Comment 1 Andriy Voskoboinyk freebsd_committer freebsd_triage 2019-01-20 21:01:19 UTC
Just checked: hostapd <= v2.5 logs some strange / duplicate messages about association on both interfaces (with subsequent disassociation on the wrong one); however, these messages are gone after wpa_supplicant v2.6 update (base r336203).