rt2x00: Let rt2800lib check CONFIG_RT2X00_LIB_USB instead of CONFIG_RT2800USB
authorGertjan van Wingerde <gwingerde@gmail.com>
Tue, 22 Dec 2009 23:03:23 +0000 (00:03 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Dec 2009 21:31:37 +0000 (16:31 -0500)
commitac394917f5138f9bb2774718312dec179164f3dc
tree0f3c7c89986fb3646c24824e202ed4729dac6374
parent00e23ce219a9ac6c5f764342ca13f8ac1bab0382
rt2x00: Let rt2800lib check CONFIG_RT2X00_LIB_USB instead of CONFIG_RT2800USB

rt2800lib currently checks whether RT2800USB is enabled in the configuration.
Strictly speaking this is not necessary, it only needs to know whether the
generic rt2x00usb library functions are available. Therefore check for
RT2X00_LIB_USB instead.

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c