diff options
author | Jimmy Du <jimmy.du@ni.com> | 2017-06-06 11:58:54 -0500 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2017-08-07 15:18:28 -0500 |
commit | b044cc1dee8f8af4dcad6ca2ef3ff4f577b79229 (patch) | |
tree | f0469af07c90e4830a28f70f14e81c323856ab2b /post/drivers/i2c.c | |
parent | 8f0b169382734d0f1f7bf89ec1e686e51a75cd67 (diff) |
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 <jimmy.du@ni.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'post/drivers/i2c.c')
0 files changed, 0 insertions, 0 deletions