Commit 15ca36fb authored by David S. Miller's avatar David S. Miller

[LIBERTAS]: Remove last stray user of MAC_FMT.

Reported by Denis V. Lunev
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d9727bb2
...@@ -243,7 +243,8 @@ static void libertas_parse_bssid(char *buf, size_t count, ...@@ -243,7 +243,8 @@ static void libertas_parse_bssid(char *buf, size_t count,
if (!hold) if (!hold)
return; return;
hold += 6; 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); memcpy(scan_cfg->bssid, mac, ETH_ALEN);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment