diff options
Diffstat (limited to 'drivers/net/wireless/ath5k/base.c')
-rw-r--r-- | drivers/net/wireless/ath5k/base.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath5k/base.c b/drivers/net/wireless/ath5k/base.c index 7989ab5c2bb..85260c39aa2 100644 --- a/drivers/net/wireless/ath5k/base.c +++ b/drivers/net/wireless/ath5k/base.c | |||
@@ -485,6 +485,12 @@ ath5k_pci_probe(struct pci_dev *pdev, | |||
485 | hw->flags = IEEE80211_HW_RX_INCLUDES_FCS | | 485 | hw->flags = IEEE80211_HW_RX_INCLUDES_FCS | |
486 | IEEE80211_HW_SIGNAL_DBM | | 486 | IEEE80211_HW_SIGNAL_DBM | |
487 | IEEE80211_HW_NOISE_DBM; | 487 | IEEE80211_HW_NOISE_DBM; |
488 | |||
489 | hw->wiphy->interface_modes = | ||
490 | BIT(NL80211_IFTYPE_STATION) | | ||
491 | BIT(NL80211_IFTYPE_ADHOC) | | ||
492 | BIT(NL80211_IFTYPE_MESH_POINT); | ||
493 | |||
488 | hw->extra_tx_headroom = 2; | 494 | hw->extra_tx_headroom = 2; |
489 | hw->channel_change_time = 5000; | 495 | hw->channel_change_time = 5000; |
490 | sc = hw->priv; | 496 | sc = hw->priv; |