summaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2013-08-27 14:42:29 +0300
committerRoman Yeryomin <roman@advem.lv>2013-08-27 14:42:29 +0300
commitbad24f47b7d7197326b97d61fd2534bf5bee7c4d (patch)
treee0b4a086eaf34962f6553dc037ef49b87e9dac4c /target/linux
parent2aafdedecc205a9addcfd982e645cdcfc0bcf56e (diff)
Fix realtek wifi led for rtl8188re chip
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/realtek/patches-2.6.30/004-rtl8192cd-fixes.diff12
1 files changed, 12 insertions, 0 deletions
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