[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120217.160254.571979413222649775.davem@davemloft.net>
Date: Fri, 17 Feb 2012 16:02:54 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: danny.kukawka@...ect.de
Cc: jcliburn@...il.com, dkukawka@...e.de, chris.snook@...il.com,
jeffrey.t.kirsher@...el.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 09/10] atheros eth: set addr_assign_type if
random_ether_addr() used
From: Danny Kukawka <danny.kukawka@...ect.de>
Date: Fri, 17 Feb 2012 16:43:30 +0100
> Set addr_assign_type correctly to NET_ADDR_RANDOM in case
> a random MAC address was generated and assigned to the netdevice.
>
> Fix error handling in atl1c_probe(). If atl1c_read_mac_addr()
> couldn't get the hw mac address, and a random mac address get
> set return the error code. Don't go to err_eeprom in
> atl1c_probe(), use the generated MAC address in this case.
>
> Reset the state to NET_ADDR_PERM as soon as the MAC get
> changed via .ndo_set_mac_address.
>
> v2: use bitops
>
> Signed-off-by: Danny Kukawka <danny.kukawka@...ect.de>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists