lkml.org 
[lkml]   [2008]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [2.6.28-rc2]: iwl4965 doesn't connect / cfg80211 failure
From
Date
On Wed, 2008-10-29 at 00:24 +0800, Mirco Tischler wrote:
>
> I tested it quickly and not very thoroughly on the wpa-eap encrypted
> network at
> university and it showed the same behaviour: no connection without
> CONFIG_WIRELESS_OLD_REGULATORY and no problems with it enabled.

Interesting. The only difference between without and with
CONFIG_WIRELESS_OLD_REGULATORY is the txpower is lower and you can only
do passive scan. Can you try attached patch?

Thanks,
-yi
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c
index 0953a9c..8123156 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.c
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.c
@@ -1523,6 +1523,7 @@ static int iwl4965_send_tx_power(struct iwl_priv *priv)
* the stack trace to find out who is calling this during
* a scan. */
IWL_WARNING("TX Power requested while scanning!\n");
+ dump_stack();
return -EAGAIN;
}

diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index 5dab72d..7ffa736 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -71,9 +71,7 @@ static const struct ieee80211_regdomain world_regdom = {
.n_reg_rules = 1,
.alpha2 = "00",
.reg_rules = {
- REG_RULE(2412-10, 2462+10, 40, 6, 20,
- NL80211_RRF_PASSIVE_SCAN |
- NL80211_RRF_NO_IBSS),
+ REG_RULE(2412-10, 2462+10, 40, 6, 27, 0),
}
};
\
 
 \ /
  Last update: 2008-10-29 07:21    [from the cache]
©2003-2011 Jasper Spaans