[PATCH 07/11] wcn36xx: Remove not used variable.

Eugene Krasnikov k.eugene.e at gmail.com
Thu Aug 22 04:46:00 EDT 2013


n_patterns and max_scan_ssids is not used.

Signed-off-by: Eugene Krasnikov <k.eugene.e at gmail.com>
---
 main.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/main.c b/main.c
index 8a293c4..ab0b284 100644
--- a/main.c
+++ b/main.c
@@ -176,8 +176,7 @@ static const struct ieee80211_iface_combination if_comb = {
 #ifdef CONFIG_PM
 
 static const struct wiphy_wowlan_support wowlan_support = {
-	.flags = WIPHY_WOWLAN_ANY,
-	.n_patterns = 0,
+	.flags = WIPHY_WOWLAN_ANY
 };
 
 #endif
@@ -853,8 +852,6 @@ static int wcn36xx_init_ieee80211(struct wcn36xx *wcn)
 	wcn->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &wcn_band_2ghz;
 	wcn->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = &wcn_band_5ghz;
 
-	wcn->hw->wiphy->max_scan_ssids = 1;
-
 	wcn->hw->wiphy->cipher_suites = cipher_suites;
 	wcn->hw->wiphy->n_cipher_suites = ARRAY_SIZE(cipher_suites);
 
-- 
1.8.2.2




More information about the wcn36xx mailing list