aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtlwifi/rtl8192de/hw.c
diff options
context:
space:
mode:
authorForest Bond <forest.bond@rapidrollout.com>2012-04-08 15:12:34 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-04-12 15:06:06 -0400
commitec71a07d1c042f2ddddc4463a9f7cfaf7adc4f71 (patch)
treef4496fafd66d2fc9f1d71c5c04c4db2da34d09c8 /drivers/net/wireless/rtlwifi/rtl8192de/hw.c
parent7d486fdeb0a21b68e41f235404ac6231ca0b3a9f (diff)
rtl8192de: Recognize 92D E-CUT version.
The chip version constant (0xCC33) was taken from version 0001.0105.2011 of the GPL vendor driver. Note that this driver version also ships a firmware update, but I am unsure if it is required for E-CUT chips to function properly. A nearby spelling error was also corrected. Signed-off-by: Forest Bond <forest.bond@rapidrollout.com> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192de/hw.c')
-rw-r--r--drivers/net/wireless/rtlwifi/rtl8192de/hw.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192de/hw.c b/drivers/net/wireless/rtlwifi/rtl8192de/hw.c
index 509f5af38adf..b338d526c422 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192de/hw.c
+++ b/drivers/net/wireless/rtlwifi/rtl8192de/hw.c
@@ -1743,9 +1743,13 @@ static void _rtl92de_efuse_update_chip_version(struct ieee80211_hw *hw)
1743 chipver |= CHIP_92D_D_CUT; 1743 chipver |= CHIP_92D_D_CUT;
1744 RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD, "D-CUT!!!\n"); 1744 RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD, "D-CUT!!!\n");
1745 break; 1745 break;
1746 case 0xCC33:
1747 chipver |= CHIP_92D_E_CUT;
1748 RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD, "E-CUT!!!\n");
1749 break;
1746 default: 1750 default:
1747 chipver |= CHIP_92D_D_CUT; 1751 chipver |= CHIP_92D_D_CUT;
1748 RT_TRACE(rtlpriv, COMP_INIT, DBG_EMERG, "Unkown CUT!\n"); 1752 RT_TRACE(rtlpriv, COMP_INIT, DBG_EMERG, "Unknown CUT!\n");
1749 break; 1753 break;
1750 } 1754 }
1751 rtlpriv->rtlhal.version = chipver; 1755 rtlpriv->rtlhal.version = chipver;