wil6210: print error when notifying about FW error
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Mon, 16 Jun 2014 16:37:10 +0000 (19:37 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 19 Jun 2014 19:49:25 +0000 (15:49 -0400)
Print to dmesg when FW error notification is about to be sent

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/wil6210/interrupt.c

index 73593aa3cd9813e2bd6849b969427f83f1a9a578..e4aba53c20e4d9fdf73d7055094ef31ab320ccac 100644 (file)
@@ -257,6 +257,7 @@ static void wil_notify_fw_error(struct wil6210_priv *wil)
                [1] = "EVENT=FW_ERROR",
                [2] = NULL,
        };
+       wil_err(wil, "Notify about firmware error\n");
        kobject_uevent_env(&dev->kobj, KOBJ_CHANGE, envp);
 }