[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)
commitae6ead4623bfbc57f3945ff86f27e51811e2e91b
treea2ac8bbe117f91bad25dfc48c4e4824fcf672c75
parenta21bd69e1509b43823c317c3bf3f7ffa99884356
[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