]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - net/net_rand.h
ARM: imx6: clocks: remove function local definitions of mxc_ccm_reg and anatop_regs
[karo-tx-uboot.git] / net / net_rand.h
index ba9d0642cf231ab2ed14c162f2c7fb975f315574..6724b3c13090380d27ffea622ed8cf83df46903e 100644 (file)
@@ -37,7 +37,7 @@ static inline unsigned int seed_mac(void)
  */
 static inline void srand_mac(void)
 {
-       srand(seed_mac());
+       srand(rand() ^ seed_mac());
 }
 
 #endif /* __NET_RAND_H__ */