Commit 5674fbb7 authored by Amitkumar Karwar's avatar Amitkumar Karwar Committed by John W. Linville
Browse files

mwifiex: print driver version information

Add code to display driver version information in dmesg after
loading the driver successfully.
Signed-off-by: default avatarAmitkumar Karwar <>
Signed-off-by: default avatarYogesh Ashok Powar <>
Signed-off-by: default avatarBing Zhao <>
Signed-off-by: default avatarJohn W. Linville <>
parent 7e1f79a1
......@@ -849,6 +849,7 @@ mwifiex_add_card(void *card, struct semaphore *sem,
int i;
struct mwifiex_adapter *adapter;
char fmt[64];
if (down_interruptible(sem))
goto exit_sem_err;
......@@ -897,6 +898,9 @@ mwifiex_add_card(void *card, struct semaphore *sem,
mwifiex_drv_get_driver_version(adapter, fmt, sizeof(fmt) - 1);
dev_notice(adapter->dev, "driver_version = %s\n", fmt);
return 0;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment