diff options
-rw-r--r-- | drivers/net/wireless/ath/ath9k/init.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c index 282bb482424f..d76003c06fe4 100644 --- a/drivers/net/wireless/ath/ath9k/init.c +++ b/drivers/net/wireless/ath/ath9k/init.c | |||
@@ -657,6 +657,7 @@ void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw) | |||
657 | 657 | ||
658 | hw->wiphy->interface_modes = | 658 | hw->wiphy->interface_modes = |
659 | BIT(NL80211_IFTYPE_AP) | | 659 | BIT(NL80211_IFTYPE_AP) | |
660 | BIT(NL80211_IFTYPE_WDS) | | ||
660 | BIT(NL80211_IFTYPE_STATION) | | 661 | BIT(NL80211_IFTYPE_STATION) | |
661 | BIT(NL80211_IFTYPE_ADHOC) | | 662 | BIT(NL80211_IFTYPE_ADHOC) | |
662 | BIT(NL80211_IFTYPE_MESH_POINT); | 663 | BIT(NL80211_IFTYPE_MESH_POINT); |
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 49ea45896b89..e6ddf45506be 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c | |||
@@ -1374,6 +1374,9 @@ static int ath9k_add_interface(struct ieee80211_hw *hw, | |||
1374 | case NL80211_IFTYPE_STATION: | 1374 | case NL80211_IFTYPE_STATION: |
1375 | ic_opmode = NL80211_IFTYPE_STATION; | 1375 | ic_opmode = NL80211_IFTYPE_STATION; |
1376 | break; | 1376 | break; |
1377 | case NL80211_IFTYPE_WDS: | ||
1378 | ic_opmode = NL80211_IFTYPE_WDS; | ||
1379 | break; | ||
1377 | case NL80211_IFTYPE_ADHOC: | 1380 | case NL80211_IFTYPE_ADHOC: |
1378 | case NL80211_IFTYPE_AP: | 1381 | case NL80211_IFTYPE_AP: |
1379 | case NL80211_IFTYPE_MESH_POINT: | 1382 | case NL80211_IFTYPE_MESH_POINT: |