37 lines
1.7 KiB
Diff
37 lines
1.7 KiB
Diff
diff --git a/drivers/net/wireless/rockchip_wlan/ssv6xxx/platform-config.mak b/drivers/net/wireless/rockchip_wlan/ssv6xxx/platform-config.mak
|
|
index 00d4792a0..373fc2bda 100644
|
|
--- a/drivers/net/wireless/rockchip_wlan/ssv6xxx/platform-config.mak
|
|
+++ b/drivers/net/wireless/rockchip_wlan/ssv6xxx/platform-config.mak
|
|
@@ -9,7 +9,8 @@ ccflags-y += -Werror
|
|
|
|
# Enable -g to help debug. Deassembly from .o to .S would help to track to
|
|
# the problomatic line from call stack dump.
|
|
-ccflags-y += -g
|
|
+#ccflags-y += -g
|
|
+ccflags += -Os
|
|
|
|
############################################################
|
|
# If you change the settings, please change the file synchronization
|
|
@@ -71,7 +72,7 @@ ccflags-y += -DUSE_GENERIC_DECI_TBL
|
|
ccflags-y += -DUSE_LOCAL_CRYPTO
|
|
ccflags-y += -DUSE_LOCAL_WEP_CRYPTO
|
|
#ccflags-y += -DUSE_LOCAL_TKIP_CRYPTO
|
|
-ccflags-y += -DUSE_LOCAL_CCMP_CRYPTO
|
|
+#ccflags-y += -DUSE_LOCAL_CCMP_CRYPTO
|
|
ccflags-y += -DUSE_LOCAL_SMS4_CRYPTO
|
|
|
|
ccflags-y += -DCONFIG_SSV_WAPI
|
|
diff --git a/drivers/net/wireless/rockchip_wlan/ssv6xxx/ssvdevice/ssvdevice.c b/drivers/net/wireless/rockchip_wlan/ssv6xxx/ssvdevice/ssvdevice.c
|
|
index 8718d8900..afce4ecef 100644
|
|
--- a/drivers/net/wireless/rockchip_wlan/ssv6xxx/ssvdevice/ssvdevice.c
|
|
+++ b/drivers/net/wireless/rockchip_wlan/ssv6xxx/ssvdevice/ssvdevice.c
|
|
@@ -58,7 +58,7 @@ static char *ssv6xxx_cmd_buf;
|
|
char *ssv6xxx_result_buf;
|
|
extern struct ssv6xxx_cfg_cmd_table cfg_cmds[];
|
|
extern struct ssv6xxx_cfg ssv_cfg;
|
|
-char DEFAULT_CFG_PATH[] = "/etc/firmware/ssv6051/ssv6051-wifi.cfg";
|
|
+char DEFAULT_CFG_PATH[] = "/lib/firmware/ssv6051-wifi.cfg";
|
|
static int ssv6xxx_dbg_open(struct inode *inode, struct file *filp)
|
|
{
|
|
filp->private_data = inode->i_private;
|