wil6210: debug print when scan request state changes
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Mon, 16 Jun 2014 16:37:11 +0000 (19:37 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 19 Jun 2014 19:49:25 +0000 (15:49 -0400)
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/wil6210/cfg80211.c
drivers/net/wireless/ath/wil6210/main.c
drivers/net/wireless/ath/wil6210/wmi.c

index a3042cd3d308a2e571bdcfa07259ee30beb80194..850a2f11e0f9be9189f8971a135020d4fb67108b 100644 (file)
@@ -287,6 +287,7 @@ static int wil_cfg80211_scan(struct wiphy *wiphy,
                return -EBUSY;
        }
 
+       wil_dbg_misc(wil, "Start scan_request 0x%p\n", request);
        wil->scan_request = request;
        mod_timer(&wil->scan_timer, jiffies + WIL6210_SCAN_TO);
 
index 11e6d9d22eae47faa34a51c813238f2acd1a1eea..33b89d1e4570c0bae3b10d2245206ff40e711d42 100644 (file)
@@ -552,6 +552,8 @@ static int __wil_down(struct wil6210_priv *wil)
        napi_disable(&wil->napi_tx);
 
        if (wil->scan_request) {
+               wil_dbg_misc(wil, "Abort scan_request 0x%p\n",
+                            wil->scan_request);
                del_timer_sync(&wil->scan_timer);
                cfg80211_scan_done(wil->scan_request, true);
                wil->scan_request = NULL;
index 1c5e6e995437c44a1081895101c289da2ddaf181..281a28f24be6fedc976a35a350adca123f65f5df 100644 (file)
@@ -362,6 +362,9 @@ static void wmi_evt_scan_complete(struct wil6210_priv *wil, int id,
                bool aborted = (data->status != WMI_SCAN_SUCCESS);
 
                wil_dbg_wmi(wil, "SCAN_COMPLETE(0x%08x)\n", data->status);
+               wil_dbg_misc(wil, "Complete scan_request 0x%p aborted %d\n",
+                            wil->scan_request, aborted);
+
                del_timer_sync(&wil->scan_timer);
                cfg80211_scan_done(wil->scan_request, aborted);
                wil->scan_request = NULL;
This page took 0.032722 seconds and 5 git commands to generate.