cfg80211: keep track of supported interface modes
[deliverable/linux.git] / drivers / net / wireless / rt2x00 / rt2x00dev.c
index 369b0b2d8643ae8a8d583e4ed806024d8e113b37..2f3bfc60688090e494cb47e52a308e51966597aa 100644 (file)
@@ -1052,6 +1052,11 @@ int rt2x00lib_probe_dev(struct rt2x00_dev *rt2x00dev)
         */
        rt2x00dev->hw->vif_data_size = sizeof(struct rt2x00_intf);
 
+       rt2x00dev->hw->wiphy->interface_modes =
+           BIT(NL80211_IFTYPE_AP) |
+           BIT(NL80211_IFTYPE_STATION) |
+           BIT(NL80211_IFTYPE_ADHOC);
+
        /*
         * Let the driver probe the device to detect the capabilities.
         */
This page took 0.029251 seconds and 5 git commands to generate.