Add AP mode support to mt7601u chipset. Simply tested it with firmware version 201302052146 and it seems working fine. Run-tested-by: Lintel Huang <lintel.huang@xxxxxxxxx> Signed-off-by: Chukun Pan <amadeus@xxxxxxxxxx> --- drivers/net/wireless/mediatek/mt7601u/init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt7601u/init.c b/drivers/net/wireless/mediatek/mt7601u/init.c index 5d9e952b2966..d18800b41704 100644 --- a/drivers/net/wireless/mediatek/mt7601u/init.c +++ b/drivers/net/wireless/mediatek/mt7601u/init.c @@ -609,7 +609,8 @@ int mt7601u_register_device(struct mt7601u_dev *dev) SET_IEEE80211_PERM_ADDR(hw, dev->macaddr); wiphy->features |= NL80211_FEATURE_ACTIVE_MONITOR; - wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION); + wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | + BIT(NL80211_IFTYPE_AP); wiphy->flags |= WIPHY_FLAG_SUPPORTS_TDLS; wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_CQM_RSSI_LIST); -- 2.25.1