]> bbs.cooldavid.org Git - net-next-2.6.git/commit
rt2x00: Fix chipset detection for rt2500usb
authorAndy Whitcroft <apw@canonical.com>
Thu, 16 Jul 2009 15:28:11 +0000 (16:28 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 21 Jul 2009 16:07:43 +0000 (12:07 -0400)
commit7adfd5c71693b81e995283805b17aa4a2ee0ecd9
treea5937e527809ef7dc4f0decf71afbe8b4587af22
parent6c95e2a2f0f0bf4c8880d5b74b2f7f359d352d03
rt2x00: Fix chipset detection for rt2500usb

The commit below changed the semantics of rt2x00_check_rev so that it no
longer checked the bottom 4 bits of the rev were non-zero.  During that
conversion this part of the check was not propogated to the rt2500usb
initialisation.

    commit 358623c22c9fd837b3b1b444377037f72553dc9f
    Author: Ivo van Doorn <ivdoorn@gmail.com>
    Date:   Tue May 5 19:46:08 2009 +0200

        rt2x00: Simplify rt2x00_check_rev

Without this check rt73 devices are miss recognised as rt2500 devices and
two drivers are loaded.  Preventing the device being used.  Reinstate this
check.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2500usb.c