WiFi: fix the compile warming.
authorgwl <gwl@rock-chips.com>
Thu, 12 Jun 2014 06:35:14 +0000 (14:35 +0800)
committergwl <gwl@rock-chips.com>
Thu, 12 Jun 2014 06:35:14 +0000 (14:35 +0800)
drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmsdh_sdmmc_linux.c
drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_cfg80211.c
net/rfkill/rfkill-wlan.c

index bd2137aa1cf5aef04dd10b841042c985e0d6553e..6635127ef922db3f425d35e3b89787317668a083 100755 (executable)
@@ -266,7 +266,7 @@ static const struct dev_pm_ops bcmsdh_sdmmc_pm_ops = {
 
 #if defined(BCMLXSDMMC)
 static struct semaphore *notify_semaphore = NULL;
-
+/*
 static int dummy_probe(struct sdio_func *func,
                               const struct sdio_device_id *id)
 {
@@ -285,7 +285,7 @@ static struct sdio_driver dummy_sdmmc_driver = {
        .name           = "dummy_sdmmc",
        .id_table       = bcmsdh_sdmmc_ids,
        };
-
+*/
 int sdio_func_reg_notify(void* semaphore)
 {
        notify_semaphore = semaphore;
index 855fad813d046ff1fe9d45f2c323d7d81a5164b5..402c9891863eb3e19685e77f08ccd29a44d33417 100644 (file)
@@ -7295,7 +7295,7 @@ static s32 wl_inform_single_bss(struct wl_priv *wl, struct wl_bss_info *bi)
        else
                band = wiphy->bands[IEEE80211_BAND_5GHZ];
        if (!band) {
-               WL_ERR(("No valid band\n"));
+               WL_DBG(("No valid band\n"));
                kfree(notif_bss_info);
                return -EINVAL;
        }
@@ -7543,7 +7543,7 @@ wl_notify_connect_status_ap(struct wl_priv *wl, struct net_device *ndev,
        else
                band = wiphy->bands[IEEE80211_BAND_5GHZ];
        if (!band) {
-               WL_ERR(("No valid band\n"));
+               WL_DBG(("No valid band\n"));
                if (body)
                        kfree(body);
                return -EINVAL;
@@ -8391,7 +8391,7 @@ wl_notify_rx_mgmt_frame(struct wl_priv *wl, bcm_struct_cfgdev *cfgdev,
        else
                band = wiphy->bands[IEEE80211_BAND_5GHZ];
        if (!band) {
-               WL_ERR(("No valid band\n"));
+               WL_DBG(("No valid band\n"));
                return -EINVAL;
        }
 #if LINUX_VERSION_CODE == KERNEL_VERSION(2, 6, 38) && !defined(WL_COMPAT_WIRELESS)
@@ -9360,7 +9360,7 @@ static s32 wl_escan_handler(struct wl_priv *wl, bcm_struct_cfgdev *cfgdev,
                else
                        band = wiphy->bands[IEEE80211_BAND_5GHZ];
                if (!band) {
-                       WL_ERR(("No valid band\n"));
+                       WL_DBG(("No valid band\n"));
                        goto exit;
                }
                if (!dhd_conf_match_channel((dhd_pub_t *)wl->pub, channel))
index 38a1a6722e7e47f99f2a77b8d8b05d4f30cacf6e..bcc4b286c8e46d120beb9fb2f94f4dd6df7b1833 100755 (executable)
@@ -454,6 +454,7 @@ extern char GetSNSectorInfo(char * pbuf);
 int rockchip_wifi_mac_addr(unsigned char *buf)
 {
     return -1;
+/*
     char mac_buf[20] = {0};
     LOG("%s: enter.\n", __func__);
 
@@ -491,6 +492,7 @@ int rockchip_wifi_mac_addr(unsigned char *buf)
     memcpy(buf, mac_buf, strlen(mac_buf));//realtek's wifi use this branch
 #endif
     return 0;
+*/
 }
 EXPORT_SYMBOL(rockchip_wifi_mac_addr);