aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/mwifiex/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/main.c b/drivers/net/wireless/mwifiex/main.c
index e5fc53dc6887..53579ad83e5c 100644
--- a/drivers/net/wireless/mwifiex/main.c
+++ b/drivers/net/wireless/mwifiex/main.c
@@ -849,6 +849,7 @@ mwifiex_add_card(void *card, struct semaphore *sem,
849{ 849{
850 int i; 850 int i;
851 struct mwifiex_adapter *adapter; 851 struct mwifiex_adapter *adapter;
852 char fmt[64];
852 853
853 if (down_interruptible(sem)) 854 if (down_interruptible(sem))
854 goto exit_sem_err; 855 goto exit_sem_err;
@@ -897,6 +898,9 @@ mwifiex_add_card(void *card, struct semaphore *sem,
897 898
898 up(sem); 899 up(sem);
899 900
901 mwifiex_drv_get_driver_version(adapter, fmt, sizeof(fmt) - 1);
902 dev_notice(adapter->dev, "driver_version = %s\n", fmt);
903
900 return 0; 904 return 0;
901 905
902err_add_intf: 906err_add_intf: