cfg80211: keep track of supported interface modes
[deliverable/linux.git] / drivers / net / wireless / ath9k / main.c
index dc45eef3289a010d137e82530a40598f04c9fa33..39a4a70d01305f239d66cc48e01b846a9ff79eb0 100644 (file)
@@ -1482,6 +1482,11 @@ static int ath_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
                IEEE80211_HW_SIGNAL_DBM |
                IEEE80211_HW_NOISE_DBM;
 
+       hw->wiphy->interface_modes =
+               BIT(NL80211_IFTYPE_AP) |
+               BIT(NL80211_IFTYPE_STATION) |
+               BIT(NL80211_IFTYPE_ADHOC);
+
        SET_IEEE80211_DEV(hw, &pdev->dev);
        pci_set_drvdata(pdev, hw);
 
This page took 0.025747 seconds and 5 git commands to generate.