]> Git Repo - u-boot.git/commit
net: Get mac address from driver as seed
authorJimmy Du <[email protected]>
Tue, 6 Jun 2017 16:58:54 +0000 (11:58 -0500)
committerJoe Hershberger <[email protected]>
Mon, 7 Aug 2017 20:18:28 +0000 (15:18 -0500)
commitb044cc1dee8f8af4dcad6ca2ef3ff4f577b79229
treef0469af07c90e4830a28f70f14e81c323856ab2b
parent8f0b169382734d0f1f7bf89ec1e686e51a75cd67
net: Get mac address from driver as seed

Previously seeded by obtaining mac addr from env. If mac addr was
never set, rand would output 0. This fix obtains the mac addr
from driver instead.

Signed-off-by: Jimmy Du <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
net/net_rand.h
This page took 0.033174 seconds and 4 git commands to generate.