diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00dev.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00dev.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c index 369b0b2d8643..2f3bfc606880 100644 --- a/drivers/net/wireless/rt2x00/rt2x00dev.c +++ b/drivers/net/wireless/rt2x00/rt2x00dev.c | |||
@@ -1052,6 +1052,11 @@ int rt2x00lib_probe_dev(struct rt2x00_dev *rt2x00dev) | |||
1052 | */ | 1052 | */ |
1053 | rt2x00dev->hw->vif_data_size = sizeof(struct rt2x00_intf); | 1053 | rt2x00dev->hw->vif_data_size = sizeof(struct rt2x00_intf); |
1054 | 1054 | ||
1055 | rt2x00dev->hw->wiphy->interface_modes = | ||
1056 | BIT(NL80211_IFTYPE_AP) | | ||
1057 | BIT(NL80211_IFTYPE_STATION) | | ||
1058 | BIT(NL80211_IFTYPE_ADHOC); | ||
1059 | |||
1055 | /* | 1060 | /* |
1056 | * Let the driver probe the device to detect the capabilities. | 1061 | * Let the driver probe the device to detect the capabilities. |
1057 | */ | 1062 | */ |