projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9727bb
)
[LIBERTAS]: Remove last stray user of MAC_FMT.
author
David S. Miller
<davem@davemloft.net>
Fri, 28 Dec 2007 00:43:38 +0000
(16:43 -0800)
committer
David 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
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/libertas/debugfs.c
b/drivers/net/wireless/libertas/debugfs.c
index 0bda0b5119109d1f23f13ab78dd31de2dff1ce25..95dd4edf64cf6f539026f3a6110d7253b27ad52d 100644
(file)
--- 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);
}