wifi: update broadcom dhd_static_buf.c
authorlibo <bo.li@amlogic.com>
Wed, 19 Sep 2018 09:11:58 +0000 (17:11 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 19 Sep 2018 14:48:54 +0000 (07:48 -0700)
PD#171947: update broadcom dhd_static_buf.c

Change-Id: I8895e097744c375f5eaa3fdaaa6f1b1f2d2d8b73
Signed-off-by: libo <bo.li@amlogic.com>
drivers/amlogic/wifi/dhd_static_buf.c

index f872d0f..27480d4 100644 (file)
@@ -27,6 +27,8 @@
 #include <linux/wlan_plat.h>
 #include <linux/amlogic/dhd_buf.h>
 
+#define        DHD_STATIC_VERSION_STR          "1.579.77.41.9"
+
 #define BCMDHD_SDIO
 #define BCMDHD_PCIE
 
@@ -121,8 +123,8 @@ void *wlan_static_dhd_info_buf;
 void *wlan_static_dhd_wlfc_info_buf;
 void *wlan_static_if_flow_lkup;
 void *wlan_static_dhd_memdump_ram_buf;
-void *wlan_static_wl_escan_info_buf;
 void *wlan_static_dhd_wlfc_hanger_buf;
+void *wlan_static_wl_escan_info_buf;
 void *wlan_static_fw_verbose_ring_buf;
 void *wlan_static_fw_event_ring_buf;
 void *wlan_static_dhd_event_ring_buf;
@@ -267,6 +269,8 @@ int bcmdhd_init_wlan_mem(void)
        int i;
        int j;
 
+       pr_info("bcmdhd_init_wlan_mem %s\n", DHD_STATIC_VERSION_STR);
+
        for (i = 0; i < DHD_SKB_1PAGE_BUF_NUM; i++) {
                wlan_static_skb[i] = dev_alloc_skb(DHD_SKB_1PAGE_BUFSIZE);
                if (!wlan_static_skb[i])
@@ -399,7 +403,6 @@ err_skb_alloc:
        for (j = 0; j < i; j++)
                dev_kfree_skb(wlan_static_skb[j]);
 
-
        return -ENOMEM;
 }
 EXPORT_SYMBOL(bcmdhd_init_wlan_mem);