提交 15ca36fb 编写于 作者: D David S. Miller

[LIBERTAS]: Remove last stray user of MAC_FMT.

Reported by Denis V. Lunev
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册