]> git.ipfire.org Git - thirdparty/hostap.git/commit
wext: Add support for renamed Host AP driver ifname
authorJouni Malinen <j@w1.fi>
Sun, 29 Mar 2015 08:42:02 +0000 (11:42 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 29 Mar 2015 08:42:02 +0000 (11:42 +0300)
commite8e365def62b8d549063493479d4587827d9a5d6
tree752f13f6ed9855adb35b7b5fd67aa6f9d746da40
parentfc48d33b0d6272a2739392b8690cf19b6d32cca3
wext: Add support for renamed Host AP driver ifname

Previous workaround for WEXT events from the Host AP driver required
wlan# and wifi# interfaces to have fixed names with the same number.
While that used to be the common case ten years ago, it is less common
nowadays. Extend this to use sysfs (if available) to figure out the
wifi# interface name if the specified interface is detected to be using
the Host AP driver.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/drivers/driver_wext.c