From: David S. Miller Date: Fri, 28 Dec 2007 00:43:38 +0000 (-0800) Subject: [LIBERTAS]: Remove last stray user of MAC_FMT. X-Git-Tag: accepted/tizen/common/20141203.182822~25490^2~914 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=15ca36fb994923b454df44e5d7aa14b84ce5aee4;p=platform%2Fkernel%2Flinux-arm64.git [LIBERTAS]: Remove last stray user of MAC_FMT. Reported by Denis V. Lunev Signed-off-by: David S. Miller --- diff --git a/drivers/net/wireless/libertas/debugfs.c b/drivers/net/wireless/libertas/debugfs.c index 0bda0b5..95dd4ed 100644 --- a/drivers/net/wireless/libertas/debugfs.c +++ b/drivers/net/wireless/libertas/debugfs.c @@ -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); }