On Mon, 2007-10-01 at 10:14 +0100, Richard A Burton wrote:
> On 01/10/2007, Ben Hutchings <[EMAIL PROTECTED]> wrote:
> > I'm not sure exactly which code you're using, since that patch doesn't
> > apply to this version.
> 
> The patch needs to be unapplied (i.e. the IV line need to be put back
> in).

Yes, that's what I meant. :-)

> I didn't unapply the entire patch set. I literally just put that
> one single line back into rt61pci.c, which seems to be sufficient for
> that particular driver as it worked perfectly for me afterwards. I
> don't have any of the other cards to try with though.

Well if it's useful for one driver I suppose it's still an improvement.
The patch I am considering would do this in the rt61pci driver:

--- rt2x00.orig/drivers/net/wireless/rt2x00/rt61pci.c
+++ rt2x00/drivers/net/wireless/rt2x00/rt61pci.c
@@ -2337,6 +2337,11 @@
         * Initialize all hw fields.
         */
        rt2x00dev->hw->flags =
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)
+           IEEE80211_HW_WEP_INCLUDE_IV |
+           IEEE80211_HW_DATA_NULLFUNC_ACK |
+           IEEE80211_HW_NO_TKIP_WMM_HWACCEL |
+#endif
            IEEE80211_HW_HOST_GEN_BEACON_TEMPLATE |
            IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING |
            IEEE80211_HW_MONITOR_DURING_OPER |
-- END --

Does this also work for you?

Ben.

-- 
Ben Hutchings
The world is coming to an end.  Please log off.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to