]> git.baikalelectronics.ru Git - kernel.git/commit
rtl8187: Change detection of RTL8187B with USB ID of 8187
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 8 Jul 2008 14:43:43 +0000 (09:43 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Jul 2008 18:16:07 +0000 (14:16 -0400)
commitd6df48dd15390d642bf97e3c5759e15ad107a61d
tree8c76baf2ad89cf1f703b4b0cb46f4c2b52ef2da2
parentb269f2b050f2300f0bc0d0e01a32c660406c095a
rtl8187: Change detection of RTL8187B with USB ID of 8187

Some early versions of RTL8187B devices have a USB ID of 0x8187
rather than the 0x8189 of later models. In addition, it appears
that these early units also must be programmed with lower power.
Previous patches used the Product ID string to detect this situation,
but did not address the low power question. This patch uses the
hardware version and sets the power accordingly.

Signed-off-by: Hin-Tak Leung <htl10@users.sourceforge.net>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl8187_dev.c
drivers/net/wireless/rtl818x.h