]> git.karo-electronics.de Git - linux-beck.git/commitdiff
airo : Print of firmware version
authormatthieu castet <castet.matthieu@free.fr>
Sun, 28 Feb 2010 14:42:54 +0000 (15:42 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Mar 2010 19:28:20 +0000 (15:28 -0400)
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>
drivers/net/wireless/airo.c

index 2859a355ef99c9a970ebde39adbe8604eb5ff55f..a441aad922c254f50e06ebe99949cf4b8162ab87 100644 (file)
@@ -2876,7 +2876,7 @@ static struct net_device *_init_airo_card( unsigned short irq, int port,
        ai->wep_capable = (cap_rid.softCap & cpu_to_le16(0x02)) ? 1 : 0;
        ai->max_wep_idx = (cap_rid.softCap & cpu_to_le16(0x80)) ? 3 : 0;
 
-       airo_print_info(dev->name, "Firmware version %x.%x.%02x",
+       airo_print_info(dev->name, "Firmware version %x.%x.%02d",
                        ((le16_to_cpu(cap_rid.softVer) >> 8) & 0xF),
                        (le16_to_cpu(cap_rid.softVer) & 0xFF),
                        le16_to_cpu(cap_rid.softSubVer));