--- MT7601U_LinuxAP_3.0.0.1_20130802\include\wsc.h
+++ MT7601U_LinuxAP_3.0.0.1_20130802\include\wsc.h
@@ -364,12 +364,13 @@
#define WSC_INIT_ENTRY_APIDX 0xFF
#define WSC_MAX_DATA_LEN 1024
#define WSC_ENTRY_GET_EAPOL_START 0x1
#define WSC_ENTRY_GET_EAP_RSP_ID 0x2
+#define WSC_WR_FILE_MAX_BUF 1500
/* Pack struct to align at byte */
/*#pragma pack(1) */
/* General used field */
/* UUID related definition */
--- MT7601U_LinuxAP_3.0.0.1_20130802\common\wsc#1.c 2015-10-30 15:04:30.000000000 +0800
+++ MT7601U_LinuxAP_3.0.0.1_20130802\common\wsc#2.c 2015-10-30 15:04:30.000000000 +0800
@@ -7617,13 +7617,13 @@
}
else
{
offset = (PCHAR) rtstrstr((PSTRING) cfgData, "Default\n");
offset += strlen("Default\n");
RtmpOSFileWrite(file_w, (PSTRING)cfgData, (int)(offset-cfgData));
- os_alloc_mem(NULL, (UCHAR **)&pTempStr, 512);
【Linux Driver】MT7601 WPS Crash Issue
最新推荐文章于 2021-12-31 10:50:19 发布