]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Indicate interface up only for the main netdev
authorHu Wang <huw@codeaurora.org>
Tue, 26 Jun 2018 02:56:29 +0000 (10:56 +0800)
committerJouni Malinen <j@w1.fi>
Thu, 5 Jul 2018 10:41:46 +0000 (13:41 +0300)
commit8a9950f7b6ebd4f555575f60d7ae7a98cdb73383
tree0dfda846cf67c11b392ea140258782c58cb7f1a6
parentc809756f9f01919cdab9976a71d9b52ca89c44b0
nl80211: Indicate interface up only for the main netdev

ifname is checked for interface down event in commit
106fa1e97e29e7514ae324020802c280f993ee48 ("nl80211: Indicate
interface-down event only for the main netdev"). Do the same for
interface up event to avoid unexpected notifications when the master
interface (e.g., a bridge interface) is set up while then WLAN interface
remains down.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/drivers/driver_nl80211.c