net: wireless: rockchip_wlan: fix bug for ap6335

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>
This commit is contained in:
Xu Xuehui 2017-06-21 17:14:33 +08:00 committed by Huang, Tao
parent 32d2c0fd14
commit 8fcec302bf
2 changed files with 2 additions and 2 deletions

View 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

View File

@ -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;
uint chip, chiprev;
int i,j;
char fw_tail[10];
char fw_tail[20];
chip = dhd->conf->chip;
chiprev = dhd->conf->chiprev;