diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/base.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index 29b855c426bb..888502e2bf86 100644 --- a/drivers/net/wireless/ath/ath5k/base.c +++ b/drivers/net/wireless/ath/ath5k/base.c | |||
@@ -2872,7 +2872,7 @@ static int ath5k_add_interface(struct ieee80211_hw *hw, | |||
2872 | sc->bslot[avf->bslot] = vif; | 2872 | sc->bslot[avf->bslot] = vif; |
2873 | if (avf->opmode == NL80211_IFTYPE_AP) | 2873 | if (avf->opmode == NL80211_IFTYPE_AP) |
2874 | sc->num_ap_vifs++; | 2874 | sc->num_ap_vifs++; |
2875 | else | 2875 | else if (avf->opmode == NL80211_IFTYPE_ADHOC) |
2876 | sc->num_adhoc_vifs++; | 2876 | sc->num_adhoc_vifs++; |
2877 | } | 2877 | } |
2878 | 2878 | ||