diff options
author | matthieu castet <castet.matthieu@free.fr> | 2010-02-28 09:42:54 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-15 15:28:20 -0400 |
commit | f3a981ffddcc9671505b85ead976630878116434 (patch) | |
tree | 801450656552a5f16c272800d63f72bf37b991c7 /drivers/net/wireless/airo.c | |
parent | 3bc819e8d4dd385e481137b2dbe3b7d23314319e (diff) |
airo : Print of firmware version
For the firmware version 5.30.17 the log file shows:
Firmware version 5.30.11
The variable softSubVer is binary.
Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr>
Signed-off-by: Jose Alonso <joalonsof@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/airo.c')
-rw-r--r-- | drivers/net/wireless/airo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c index 2859a355ef99..a441aad922c2 100644 --- a/drivers/net/wireless/airo.c +++ b/drivers/net/wireless/airo.c | |||
@@ -2876,7 +2876,7 @@ static struct net_device *_init_airo_card( unsigned short irq, int port, | |||
2876 | ai->wep_capable = (cap_rid.softCap & cpu_to_le16(0x02)) ? 1 : 0; | 2876 | ai->wep_capable = (cap_rid.softCap & cpu_to_le16(0x02)) ? 1 : 0; |
2877 | ai->max_wep_idx = (cap_rid.softCap & cpu_to_le16(0x80)) ? 3 : 0; | 2877 | ai->max_wep_idx = (cap_rid.softCap & cpu_to_le16(0x80)) ? 3 : 0; |
2878 | 2878 | ||
2879 | airo_print_info(dev->name, "Firmware version %x.%x.%02x", | 2879 | airo_print_info(dev->name, "Firmware version %x.%x.%02d", |
2880 | ((le16_to_cpu(cap_rid.softVer) >> 8) & 0xF), | 2880 | ((le16_to_cpu(cap_rid.softVer) >> 8) & 0xF), |
2881 | (le16_to_cpu(cap_rid.softVer) & 0xFF), | 2881 | (le16_to_cpu(cap_rid.softVer) & 0xFF), |
2882 | le16_to_cpu(cap_rid.softSubVer)); | 2882 | le16_to_cpu(cap_rid.softSubVer)); |