diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/main.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 173a889f9dbb..21b764ba6400 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c | |||
@@ -994,8 +994,9 @@ void ath9k_calculate_iter_data(struct ieee80211_hw *hw, | |||
994 | struct ath_common *common = ath9k_hw_common(ah); | 994 | struct ath_common *common = ath9k_hw_common(ah); |
995 | 995 | ||
996 | /* | 996 | /* |
997 | * Use the hardware MAC address as reference, the hardware uses it | 997 | * Pick the MAC address of the first interface as the new hardware |
998 | * together with the BSSID mask when matching addresses. | 998 | * MAC address. The hardware will use it together with the BSSID mask |
999 | * when matching addresses. | ||
999 | */ | 1000 | */ |
1000 | memset(iter_data, 0, sizeof(*iter_data)); | 1001 | memset(iter_data, 0, sizeof(*iter_data)); |
1001 | memset(&iter_data->mask, 0xff, ETH_ALEN); | 1002 | memset(&iter_data->mask, 0xff, ETH_ALEN); |