Skip to content

Commit

Permalink
[LIBERTAS]: Remove last stray user of MAC_FMT.
Browse files Browse the repository at this point in the history
Reported by Denis V. Lunev

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jan 28, 2008
1 parent d9727bb commit 15ca36f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/wireless/libertas/debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 15ca36f

Please sign in to comment.