[patch 15/47] zd1211rw: treat MAXIM_NEW_RF(0x08) asUW2453_RF(0x09) for TP-Link WN322/422G

From: Greg KH
Date: Fri Feb 13 2009 - 20:06:55 EST


2.6.27-stable review patch. If anyone has any objections, please let us know.

------------------

From: Hin-Tak Leung <hintak.leung@xxxxxxxxx>

commit efb43f4b2ccf8066abc3920a0e6858e4350a65c7 upstream.

Three people (Petr Mensik <pihhan@xxxxxxxxx>
["si" should be U+0161 U+00ED], Stephen Ho <stephenhoinhk@xxxxxxxxx>
on zd1211-devs and Ismael Ojeda Perez <iojedaperez@xxxxxxxxx>
on linux-wireless) reported success in getting TP-Link WN322G/WN422G
working by treating MAXIM_NEW_RF(0x08) as UW2453_RF(0x09) for rf
chip hardware initialization.

Signed-off-by: Hin-Tak Leung <htl10@xxxxxxxxxxxxxxxxxxxxx>
Tested-by: Petr Mensik <pihhan@xxxxxxxxx>
Tested-by: Stephen Ho <stephenhoinhk@xxxxxxxxx>
Tested-by: Ismael Ojeda Perez <iojedaperez@xxxxxxxxx>
Signed-off-by: John W. Linville <linville@xxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>

---
drivers/net/wireless/zd1211rw/zd_rf.c | 1 +
1 file changed, 1 insertion(+)

--- a/drivers/net/wireless/zd1211rw/zd_rf.c
+++ b/drivers/net/wireless/zd1211rw/zd_rf.c
@@ -86,6 +86,7 @@ int zd_rf_init_hw(struct zd_rf *rf, u8 t
case AL7230B_RF:
r = zd_rf_init_al7230b(rf);
break;
+ case MAXIM_NEW_RF:
case UW2453_RF:
r = zd_rf_init_uw2453(rf);
break;

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/