diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/etherdevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/etherdevice.h b/include/linux/etherdevice.h index 243eea1e33d8..1a43e1b4f7ad 100644 --- a/include/linux/etherdevice.h +++ b/include/linux/etherdevice.h | |||
| @@ -192,7 +192,7 @@ static inline void eth_zero_addr(u8 *addr) | |||
| 192 | */ | 192 | */ |
| 193 | static inline void eth_hw_addr_random(struct net_device *dev) | 193 | static inline void eth_hw_addr_random(struct net_device *dev) |
| 194 | { | 194 | { |
| 195 | dev->addr_assign_type |= NET_ADDR_RANDOM; | 195 | dev->addr_assign_type = NET_ADDR_RANDOM; |
| 196 | eth_random_addr(dev->dev_addr); | 196 | eth_random_addr(dev->dev_addr); |
| 197 | } | 197 | } |
| 198 | 198 | ||
