summaryrefslogtreecommitdiff
path: root/package/ramips/drivers/mt76x2e/patches/002-startup_exception_division_0.patch
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-09-16 19:55:45 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-09-16 19:55:45 +0200
commitc0ce88c586a467665b35d93c2f6962cac8e8dc27 (patch)
treedf24b1ae76338fa83f45c14f8518720f0266705d /package/ramips/drivers/mt76x2e/patches/002-startup_exception_division_0.patch
parentffb3f790a5075e5c294420e8348dfe6c429ac921 (diff)
downloadmtk-20170518-c0ce88c586a467665b35d93c2f6962cac8e8dc27.zip
mtk-20170518-c0ce88c586a467665b35d93c2f6962cac8e8dc27.tar.gz
mtk-20170518-c0ce88c586a467665b35d93c2f6962cac8e8dc27.tar.bz2
mt7xxx proprietary Wifi drivers integration + mac80211 weird changes
Diffstat (limited to 'package/ramips/drivers/mt76x2e/patches/002-startup_exception_division_0.patch')
-rw-r--r--package/ramips/drivers/mt76x2e/patches/002-startup_exception_division_0.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/ramips/drivers/mt76x2e/patches/002-startup_exception_division_0.patch b/package/ramips/drivers/mt76x2e/patches/002-startup_exception_division_0.patch
new file mode 100644
index 0000000..58f8171
--- /dev/null
+++ b/package/ramips/drivers/mt76x2e/patches/002-startup_exception_division_0.patch
@@ -0,0 +1,13 @@
+Index: mt76x2e-3.0.4.0/rlt_wifi/common/cmm_info.c
+===================================================================
+--- mt76x2e-3.0.4.0.orig/rlt_wifi/common/cmm_info.c
++++ mt76x2e-3.0.4.0/rlt_wifi/common/cmm_info.c
+@@ -2131,7 +2131,7 @@ VOID RTMPSetPhyMode(RTMP_ADAPTER *pAd, U
+ {
+ #ifdef CONFIG_AP_SUPPORT
+ IF_DEV_CONFIG_OPMODE_ON_AP(pAd)
+- if (pAd->CommonCfg.Channel != 0)
++ //if (pAd->CommonCfg.Channel != 0)
+ pAd->CommonCfg.Channel = FirstChannel(pAd);
+ #endif /* CONFIG_AP_SUPPORT */
+ #ifdef CONFIG_STA_SUPPORT