linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ivo van Doorn <ivdoorn@gmail.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Marcus Better <marcus@better.se>, linux-wireless@vger.kernel.org
Subject: Re: rt2500pci 2.0.9 not working
Date: Thu, 11 Oct 2007 20:05:55 +0200	[thread overview]
Message-ID: <200710112005.56101.IvDoorn@gmail.com> (raw)
In-Reply-To: <1192094159.4770.21.camel@johannes.berg>

On Thursday 11 October 2007, Johannes Berg wrote:
> On Thu, 2007-10-11 at 11:05 +0200, Marcus Better wrote:
> 
> > > No, but you can comment out the B mode registration in rt2500pci and see
> > > if that helps.
> > 
> > I have very limited time to find out how to do that, but will gladly try a
> > patch...
> 
> Me neither. It seems to be in rt2x00dev.c, Ivo can you help maybe? Just
> for debugging. I'd have thought that adding the 'break' statement would
> fix it.

Patch added below.

> Alternatively, could you print out the selected mode in
> ieee80211_ioctl.c:ieee80211_set_channel?
> 
> something like
> printk(KERN_DEBUG "selected mode %d\n", local->oper_hw_mode->mode);
> printk(KERN_DEBUG "select channel %d\n", local->oper_channel);

---

diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c
index 360f03a..89470c0 100644
--- a/drivers/net/wireless/rt2x00/rt2x00dev.c
+++ b/drivers/net/wireless/rt2x00/rt2x00dev.c
@@ -866,9 +866,9 @@ static int rt2x00lib_probe_hw_modes(struct rt2x00_dev *rt2x00dev,
 	    ieee80211_register_hwmode(hw, &hwmodes[HWMODE_G]))
 		goto exit_free_rates;
 
-	if (spec->num_modes > HWMODE_B &&
+	/*if (spec->num_modes > HWMODE_B &&
 	    ieee80211_register_hwmode(hw, &hwmodes[HWMODE_B]))
-		goto exit_free_rates;
+		goto exit_free_rates;*/
 
 	if (spec->num_modes > HWMODE_A &&
 	    ieee80211_register_hwmode(hw, &hwmodes[HWMODE_A]))
 



  reply	other threads:[~2007-10-11 17:49 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-01 10:18 rt2500pci 2.0.9 not working Marcus Better
2007-10-10  9:06 ` Marcus Better
2007-10-10  9:26   ` Johannes Berg
2007-10-10  9:43     ` Marcus Better
2007-10-10  9:51       ` Johannes Berg
2007-10-10 10:56         ` Marcus Better
2007-10-10 11:30           ` Johannes Berg
2007-10-10 12:17             ` Marcus Better
2007-10-10 17:43               ` Johannes Berg
2007-10-11  9:05                 ` Marcus Better
2007-10-11  9:15                   ` Johannes Berg
2007-10-11 18:05                     ` Ivo van Doorn [this message]
2007-10-12  9:04                       ` Marcus Better
2007-10-12 13:32                         ` Marcus Better
2007-10-12 14:50                           ` Larry Finger
2007-10-15  9:57                             ` Marcus Better
2007-10-15 21:49                               ` Adam Baker
2007-10-12 19:18                         ` Johannes Berg
2007-10-12 19:24                           ` [PATCH v2] mac80211: fix set_channel regression Johannes Berg
2007-10-12 20:41                             ` Michael Wu
2007-10-15  7:04                             ` Marcus Better
2007-10-15  8:32                               ` Johannes Berg
2007-10-15 11:37                                 ` Marcus Better
2007-10-15 11:45                                   ` Johannes Berg
2007-10-15 18:13                                     ` Ivo van Doorn
2007-10-18  9:37                                       ` Marcus Better
2007-10-19  7:49                                       ` Marcus Better
2007-10-19 19:10                                         ` Ivo van Doorn
2007-10-24  7:36                                           ` Marcus Better
2007-10-10 10:03   ` [PATCH] mac80211: reorder association debug output Johannes Berg
2007-10-10 20:52     ` Michael Wu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200710112005.56101.IvDoorn@gmail.com \
    --to=ivdoorn@gmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=marcus@better.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).