diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/base.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index 8251946842e6..29b855c426bb 100644 --- a/drivers/net/wireless/ath/ath5k/base.c +++ b/drivers/net/wireless/ath/ath5k/base.c | |||
@@ -1949,8 +1949,9 @@ ath5k_beacon_send(struct ath5k_softc *sc) | |||
1949 | /* NB: hw still stops DMA, so proceed */ | 1949 | /* NB: hw still stops DMA, so proceed */ |
1950 | } | 1950 | } |
1951 | 1951 | ||
1952 | /* refresh the beacon for AP mode */ | 1952 | /* refresh the beacon for AP or MESH mode */ |
1953 | if (sc->opmode == NL80211_IFTYPE_AP) | 1953 | if (sc->opmode == NL80211_IFTYPE_AP || |
1954 | sc->opmode == NL80211_IFTYPE_MESH_POINT) | ||
1954 | ath5k_beacon_update(sc->hw, vif); | 1955 | ath5k_beacon_update(sc->hw, vif); |
1955 | 1956 | ||
1956 | ath5k_hw_set_txdp(ah, sc->bhalq, bf->daddr); | 1957 | ath5k_hw_set_txdp(ah, sc->bhalq, bf->daddr); |
@@ -2851,7 +2852,8 @@ static int ath5k_add_interface(struct ieee80211_hw *hw, | |||
2851 | 2852 | ||
2852 | /* Assign the vap/adhoc to a beacon xmit slot. */ | 2853 | /* Assign the vap/adhoc to a beacon xmit slot. */ |
2853 | if ((avf->opmode == NL80211_IFTYPE_AP) || | 2854 | if ((avf->opmode == NL80211_IFTYPE_AP) || |
2854 | (avf->opmode == NL80211_IFTYPE_ADHOC)) { | 2855 | (avf->opmode == NL80211_IFTYPE_ADHOC) || |
2856 | (avf->opmode == NL80211_IFTYPE_MESH_POINT)) { | ||
2855 | int slot; | 2857 | int slot; |
2856 | 2858 | ||
2857 | WARN_ON(list_empty(&sc->bcbuf)); | 2859 | WARN_ON(list_empty(&sc->bcbuf)); |