]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: most: aim-network: setup mac address before ifup has finished
authorAndrey Shvetsov <andrey.shvetsov@k2l.de>
Tue, 4 Oct 2016 15:10:17 +0000 (17:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:25:12 +0000 (10:25 +0200)
commit81ad5207862db73e64f6439efa47d259ff4a60a7
tree9ae79677ec8278f0a5ca524bfd6c54768e4ce9a4
parent553a42e51a3be67cf5355024fa6954766c79feb4
staging: most: aim-network: setup mac address before ifup has finished

The networking AIM implements a non-standard behavior as it starts the
networking interface with an invalid MAC address and changes it by the time
a valid one is available.

This patch introduces a completion object to set the MAC address of the
networking interface before the .ndo_open callback (ifup) of the net_device
returns.

Signed-off-by: Andrey Shvetsov <andrey.shvetsov@k2l.de>
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/aim-network/networking.c