From a86e7d9e26188e6aa7b366fe69967d637727d8cd Mon Sep 17 00:00:00 2001 From: Yogesh Ashok Powar Date: Fri, 25 Jan 2013 16:19:55 +0530 Subject: [PATCH] --- yaml --- r: 352297 b: refs/heads/master c: 2acdaa7a578cf43566950a6cfb70848ff6607553 h: refs/heads/master i: 352295: fcec048a278afd4d17d584ec72ef6e3a41a859a0 v: v3 --- [refs] | 2 +- trunk/drivers/net/wireless/mwl8k.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 4fb2dcf3309c..e57d7f150005 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a246ac38cdd886bf053f67d5275a20e1a99ff586 +refs/heads/master: 2acdaa7a578cf43566950a6cfb70848ff6607553 diff --git a/trunk/drivers/net/wireless/mwl8k.c b/trunk/drivers/net/wireless/mwl8k.c index b17ef49f9303..0a22bb173739 100644 --- a/trunk/drivers/net/wireless/mwl8k.c +++ b/trunk/drivers/net/wireless/mwl8k.c @@ -5799,6 +5799,7 @@ static int mwl8k_reload_firmware(struct ieee80211_hw *hw, char *fw_image) static const struct ieee80211_iface_limit ap_if_limits[] = { { .max = 8, .types = BIT(NL80211_IFTYPE_AP) }, + { .max = 1, .types = BIT(NL80211_IFTYPE_STATION) }, }; static const struct ieee80211_iface_combination ap_if_comb = { @@ -5891,6 +5892,7 @@ static int mwl8k_firmware_load_success(struct mwl8k_priv *priv) if (priv->ap_macids_supported || priv->device_info->fw_image_ap) { hw->wiphy->interface_modes |= BIT(NL80211_IFTYPE_AP); + hw->wiphy->interface_modes |= BIT(NL80211_IFTYPE_STATION); hw->wiphy->iface_combinations = &ap_if_comb; hw->wiphy->n_iface_combinations = 1; }