rt2500pci: regression with latest changes.

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=6090

a-slack

17-07-2010 03:51:53

The patch [bd58c7mtc]rt2x00 Write the BSSID to register when interface is added[/urld58c7mtc][/bd58c7mtc]

[coded58c7mtc]
--- a/drivers/net/wireless/rt2x00/rt2x00mac.c
+++ b/drivers/net/wireless/rt2x00/rt2x00mac.c
@@ -282,7 +282,8 @@ int rt2x00mac_add_interface(struct ieee80211_hw *hw,
* has been initialized. Otherwise the device can reset
* the MAC registers.
*/
- rt2x00lib_config_intf(rt2x00dev, intf, vif->type, intf->mac, NULL);
+ rt2x00lib_config_intf(rt2x00dev, intf, vif->type,
+ intf->mac, intf->bssid);

/*
* Some filters depend on the current working mode. We can force
[/coded58c7mtc]
generates malfunction in managed mode with the rt2500pci driver, with that patch the device associates randomly.

Reverting that patch makes all work fine again.

Regards.

IvD

17-07-2010 10:19:07

Could you try attached patch to see if that fixed the problem for you?

a-slack

17-07-2010 16:58:10

Yes, with that patch works ) . I tried with compat-wireless-2010-07-16.tar.bz2 with no changes on it and it doesn't works then I tried the same tarball with your patch and it works well.

Regards.

a-slack

18-07-2010 20:37:47

Sorry but after more tests with the patch bssid.diff happens the same, the device associates randomly (most of the times doesn't associate).

The unique thing that really works is revert the patch [b33pin4fe]rt2x00 Write the BSSID to register when interface is added[/url33pin4fe][/b33pin4fe].

Regards.

IvD

19-07-2010 09:46:51

Could you try this new patch instead?

a-slack

19-07-2010 17:38:47

The second one, after a few tests, seems to work well.

Regards.