summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/rc.c
diff options
context:
space:
mode:
authorPat Erley <pat-lkml@erley.org>2009-03-20 22:59:59 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-03-27 20:13:06 -0400
commit9cb5412b0760981d43ac3e612992c90cea690e72 (patch)
tree6ae9a5350899cf6106cd8510050f6ea1baa62f02 /drivers/net/wireless/ath9k/rc.c
parentd8cd7effc20027c313d4086b123046ff9f9a5814 (diff)
downloadblackbird-op-linux-9cb5412b0760981d43ac3e612992c90cea690e72.tar.gz
blackbird-op-linux-9cb5412b0760981d43ac3e612992c90cea690e72.zip
Add mesh point functionality to ath9k
This patch enables mesh point operation for ath9k. Tested with b43, ath9k, rt2500usb, and ath5k as peers. Signed-off-by: Pat Erley <pat-lkml@erley.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/rc.c')
-rw-r--r--drivers/net/wireless/ath9k/rc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/rc.c b/drivers/net/wireless/ath9k/rc.c
index 6c2fd395bc38..824ccbb8b7b8 100644
--- a/drivers/net/wireless/ath9k/rc.c
+++ b/drivers/net/wireless/ath9k/rc.c
@@ -1619,6 +1619,7 @@ static void ath_rate_init(void *priv, struct ieee80211_supported_band *sband,
/* Choose rate table first */
if ((sc->sc_ah->opmode == NL80211_IFTYPE_STATION) ||
+ (sc->sc_ah->opmode == NL80211_IFTYPE_MESH_POINT) ||
(sc->sc_ah->opmode == NL80211_IFTYPE_ADHOC)) {
rate_table = ath_choose_rate_table(sc, sband->band,
sta->ht_cap.ht_supported,
OpenPOWER on IntegriCloud