net: wireless: rockchip_wlan: fix bug for ap6335
authorXu Xuehui <xxh@rock-chips.com>
Wed, 21 Jun 2017 09:14:33 +0000 (17:14 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 21 Jun 2017 10:55:45 +0000 (18:55 +0800)
1. fix when start softap, wifi driver crash
2. fix p2p mac addr not correct, this case p2p can not use

Change-Id: Ia9b5d7ac660ec9b954a682345c52778f7534229e
Signed-off-by: Xu Xuehui <xxh@rock-chips.com>
drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/Makefile
drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_config.c

index a8131575a4e7f31c972359138fc214e89418d9f1..a6a4be363d684ed9be90d61ea7ca820564ad89fc 100644 (file)
@@ -68,7 +68,7 @@ bcmdhd-objs += $(DHDOFILES)
 
 #ifeq ($(CONFIG_MACH_PLATFORM),y)
 DHDOFILES += dhd_gpio.o
-DHDCFLAGS += -DCUSTOMER_HW -DDHD_OF_SUPPORT -DGET_CUSTOM_MAC_ENABLE
+DHDCFLAGS += -DCUSTOMER_HW -DDHD_OF_SUPPORT
 #DHDCFLAGS += -DBCMWAPI_WPI -DBCMWAPI_WAI
 #endif
 
index 3c5c9f29a4974a63636e07b411ca2c12001a32b3..437efb736bbd97ec94727db9329543b76e8a81b1 100755 (executable)
@@ -346,7 +346,7 @@ dhd_conf_set_fw_name_by_chip(dhd_pub_t *dhd, char *fw_path, char *nv_path)
        int fw_type, ag_type;\r
        uint chip, chiprev;\r
        int i,j;\r
-       char fw_tail[10];\r
+       char fw_tail[20];
 \r
        chip = dhd->conf->chip;\r
        chiprev = dhd->conf->chiprev;\r