diff options
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00dev.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c index 67d167993d45..66b3b17b16d2 100644 --- a/drivers/net/wireless/rt2x00/rt2x00dev.c +++ b/drivers/net/wireless/rt2x00/rt2x00dev.c | |||
@@ -1183,6 +1183,13 @@ int rt2x00lib_probe_dev(struct rt2x00_dev *rt2x00dev) | |||
1183 | rt2x00dev->hw->vif_data_size = sizeof(struct rt2x00_intf); | 1183 | rt2x00dev->hw->vif_data_size = sizeof(struct rt2x00_intf); |
1184 | 1184 | ||
1185 | /* | 1185 | /* |
1186 | * rt2x00 devices can only use the last n bits of the MAC address | ||
1187 | * for virtual interfaces. | ||
1188 | */ | ||
1189 | rt2x00dev->hw->wiphy->addr_mask[ETH_ALEN - 1] = | ||
1190 | (rt2x00dev->ops->max_ap_intf - 1); | ||
1191 | |||
1192 | /* | ||
1186 | * Determine which operating modes are supported, all modes | 1193 | * Determine which operating modes are supported, all modes |
1187 | * which require beaconing, depend on the availability of | 1194 | * which require beaconing, depend on the availability of |
1188 | * beacon entries. | 1195 | * beacon entries. |