[LIBERTAS]: Remove last stray user of MAC_FMT.
authorDavid S. Miller <davem@davemloft.net>
Fri, 28 Dec 2007 00:43:38 +0000 (16:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:00:08 +0000 (15:00 -0800)
Reported by Denis V. Lunev

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/libertas/debugfs.c

index 0bda0b5..95dd4ed 100644 (file)
@@ -243,7 +243,8 @@ static void libertas_parse_bssid(char *buf, size_t count,
        if (!hold)
                return;
        hold += 6;
-       sscanf(hold, MAC_FMT, mac, mac+1, mac+2, mac+3, mac+4, mac+5);
+       sscanf(hold, "%02x:%02x:%02x:%02x:%02x:%02x",
+              mac, mac+1, mac+2, mac+3, mac+4, mac+5);
        memcpy(scan_cfg->bssid, mac, ETH_ALEN);
 }