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])) - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html