ath9k: Set BSSID mask based on configured interfaces
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 3 Mar 2009 17:23:27 +0000 (19:23 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Mar 2009 19:39:44 +0000 (14:39 -0500)
commit8ca21f0185a606c490867f7471196aa29639e638
treed16405f88eb894c6805bbaae4c2a5fba81b2baef
parent2c3db3d51ee1fcf84f5828788905a4c091b9ae27
ath9k: Set BSSID mask based on configured interfaces

Instead of using a hardcoded BSSID mask (mask for own addresses),
iterate through all active interfaces and determine the minimal mask
that covers all local addresses.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/Makefile
drivers/net/wireless/ath9k/ath9k.h
drivers/net/wireless/ath9k/main.c
drivers/net/wireless/ath9k/virtual.c [new file with mode: 0644]