fix iwl3945 registration regression
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 9 Apr 2009 07:56:02 +0000 (09:56 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 16 Apr 2009 14:39:15 +0000 (10:39 -0400)
I forgot that iwl3945 registration is separate from iwlagn.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl3945-base.c

index ce729281ff62957db12127e095fe3cc96d1559f2..8d738d7524879745662d43993417edabdd6f3249 100644 (file)
@@ -4913,6 +4913,8 @@ static int iwl3945_setup_mac(struct iwl_priv *priv)
 
        hw->wiphy->custom_regulatory = true;
 
+       hw->wiphy->max_scan_ssids = 1; /* WILL FIX */
+
        /* Default value; 4 EDCA QOS priorities */
        hw->queues = 4;