]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] zd1211rw: Reject AL2230S devices
authorDaniel Drake <dsd@gentoo.org>
Sun, 11 Mar 2007 19:54:11 +0000 (19:54 +0000)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Apr 2007 15:03:29 +0000 (11:03 -0400)
commita4956cd8c94a292cc9398f6973dfc5dda548bcfc
treea2ac8bbe117f91bad25dfc48c4e4824fcf672c75
parentac34acf6a30b179f0359a8b7ac82d50fc8d67c62
[PATCH] zd1211rw: Reject AL2230S devices

zd1211rw currently detects AL2230S-based devices as AL2230, and hence
programs the RF incorrectly. Transmit silently fails on this
misconfiguration.

After this patch, AL2230S devices are rejected with an error message, to
avoid any confusion with an apparent driver bug.

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/zd1211rw/zd_chip.c
drivers/net/wireless/zd1211rw/zd_chip.h
drivers/net/wireless/zd1211rw/zd_rf_al2230.c