From bad24f47b7d7197326b97d61fd2534bf5bee7c4d Mon Sep 17 00:00:00 2001 From: Roman Yeryomin Date: Tue, 27 Aug 2013 14:42:29 +0300 Subject: Fix realtek wifi led for rtl8188re chip Signed-off-by: Roman Yeryomin --- target/linux/realtek/patches-2.6.30/004-rtl8192cd-fixes.diff | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'target') diff --git a/target/linux/realtek/patches-2.6.30/004-rtl8192cd-fixes.diff b/target/linux/realtek/patches-2.6.30/004-rtl8192cd-fixes.diff index 262b64319..bc245e333 100644 --- a/target/linux/realtek/patches-2.6.30/004-rtl8192cd-fixes.diff +++ b/target/linux/realtek/patches-2.6.30/004-rtl8192cd-fixes.diff @@ -68,3 +68,15 @@ +#error hapd not-set +#endif + +--- a/drivers/net/wireless/rtl8192cd/8192cd_led.c ++++ b/drivers/net/wireless/rtl8192cd/8192cd_led.c +@@ -144,7 +144,8 @@ + RTL_W32(LEDCFG, RTL_R32(LEDCFG) & 0xfff0ffff); + } + #endif +- else if (GET_CHIP_VER(priv) == VERSION_8192C){ ++ else if ( GET_CHIP_VER(priv) == VERSION_8192C || ++ GET_CHIP_VER(priv) == VERSION_8188C ) { + if (flag) + RTL_W32(LEDCFG, (RTL_R32(LEDCFG) & 0xfff0ffff) | LED2SV); + else -- cgit v1.2.3