diff options
author | David S. Miller <davem@davemloft.net> | 2007-12-27 19:43:38 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:00:08 -0500 |
commit | 15ca36fb994923b454df44e5d7aa14b84ce5aee4 (patch) | |
tree | 1924b8337f06dac6d5dbe07404bc8eaf0a0ca719 | |
parent | d9727bb2d516bc16bafee4216eec91cd2be5f30a (diff) |
[LIBERTAS]: Remove last stray user of MAC_FMT.
Reported by Denis V. Lunev
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/wireless/libertas/debugfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/debugfs.c b/drivers/net/wireless/libertas/debugfs.c index 0bda0b51191..95dd4edf64c 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, | |||
243 | if (!hold) | 243 | if (!hold) |
244 | return; | 244 | return; |
245 | hold += 6; | 245 | hold += 6; |
246 | sscanf(hold, MAC_FMT, mac, mac+1, mac+2, mac+3, mac+4, mac+5); | 246 | sscanf(hold, "%02x:%02x:%02x:%02x:%02x:%02x", |
247 | mac, mac+1, mac+2, mac+3, mac+4, mac+5); | ||
247 | memcpy(scan_cfg->bssid, mac, ETH_ALEN); | 248 | memcpy(scan_cfg->bssid, mac, ETH_ALEN); |
248 | } | 249 | } |
249 | 250 | ||