From: Rongjun Chen Date: Fri, 8 Sep 2017 09:16:47 +0000 (+0800) Subject: wifi: change 4358fw name to fix wifi up issue[1/1] X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=57ab87eb6b2d80648deec78084bf41184b91822d;p=GitHub%2FLineageOS%2FG12%2Fandroid_hardware_amlogic_kernel-modules_dhd-driver.git wifi: change 4358fw name to fix wifi up issue[1/1] PD# 146454 change 4358 fw name to 4358_ag.bin Change-Id: I012b3110b4890c4527f5a112e198346ef5acc0d2 --- diff --git a/bcmdhd.1.579.77.41.1.cn/dhd_config.c b/bcmdhd.1.579.77.41.1.cn/dhd_config.c index 4bbbe00..1e535fe 100644 --- a/bcmdhd.1.579.77.41.1.cn/dhd_config.c +++ b/bcmdhd.1.579.77.41.1.cn/dhd_config.c @@ -64,7 +64,7 @@ uint config_msg_level = CONFIG_ERROR_LEVEL; #define CONFIG_BCM4354A1 "config_4354a1.txt" #endif #define CONFIG_BCM4356A2 "config_4356a2.txt" -#define CONFIG_BCM4358A3 "config_4358a3.txt" +#define CONFIG_BCM4358A3 "config_4358.txt" #define CONFIG_BCM4359B1 "config_4359b1.txt" #define CONFIG_BCM4359C0 "config_4359c0.txt" #endif @@ -88,7 +88,7 @@ uint config_msg_level = CONFIG_ERROR_LEVEL; #define FW_BCM43456C5 "fw_bcm43456c5_ag" #define FW_BCM4354A1 "fw_bcm4354a1_ag" #define FW_BCM4356A2 "fw_bcm4356a2_ag" -#define FW_BCM4358A3 "fw_bcm4358a3_ag" +#define FW_BCM4358A3 "fw_bcm4358_ag" #define FW_BCM4359B1 "fw_bcm4359b1_ag" #define FW_BCM4359C0 "fw_bcm4359c0_ag" diff --git a/bcmdhd.1.579.77.41.1.cn/dhd_debug.c b/bcmdhd.1.579.77.41.1.cn/dhd_debug.c index f6eb7a9..b0be8dc 100644 --- a/bcmdhd.1.579.77.41.1.cn/dhd_debug.c +++ b/bcmdhd.1.579.77.41.1.cn/dhd_debug.c @@ -1267,9 +1267,9 @@ dhd_dbg_set_event_log_tag(dhd_pub_t *dhdp, uint16 tag, uint8 set) } ret = dhd_wl_ioctl_cmd(dhdp, WLC_SET_VAR, iovbuf, sizeof(iovbuf), TRUE, 0); - if (ret) { - DHD_ERROR(("%s set log tag iovar failed %d\n", __FUNCTION__, ret)); - } +// if (ret) { +// DHD_ERROR(("%s set log tag iovar failed %d\n", __FUNCTION__, ret)); +// } } int diff --git a/bcmdhd.1.579.77.41.1.cn/wl_cfg80211.c b/bcmdhd.1.579.77.41.1.cn/wl_cfg80211.c index dc887a9..725d2db 100644 --- a/bcmdhd.1.579.77.41.1.cn/wl_cfg80211.c +++ b/bcmdhd.1.579.77.41.1.cn/wl_cfg80211.c @@ -6316,8 +6316,8 @@ wl_cfg80211_get_station(struct wiphy *wiphy, struct net_device *dev, (uint32)dtoh64(if_stats->txrunt) + (uint32)dtoh64(if_stats->txfail); } else { - WL_ERR(("%s: if_counters not supported ret=%d\n", - __FUNCTION__, err)); + // WL_ERR(("%s: if_counters not supported ret=%d\n", + // __FUNCTION__, err)); #endif /* DHD_SUPPORT_IF_CNTS */ err = wldev_ioctl_get(dev, WLC_GET_PKTCNTS, &pktcnt,