mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 11:21:33 +00:00
staging: wilc1000: Fix code block alignment
Fix the code alignment for a block of code to adhere to coding guidelines Signed-off-by: HariPrasath Elango <hariprasath.elango@gmail.com> Reviewed-by: Ajay Singh <ajay.kathat@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e1d9fc04c4
commit
76c01fdd82
@ -861,10 +861,10 @@ static int wilc_mac_open(struct net_device *ndev)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
wilc_get_mac_address(vif, mac_add);
|
|
||||||
netdev_dbg(ndev, "Mac address: %pM\n", mac_add);
|
|
||||||
memcpy(wl->vif[i]->src_addr, mac_add, ETH_ALEN);
|
|
||||||
|
|
||||||
|
wilc_get_mac_address(vif, mac_add);
|
||||||
|
netdev_dbg(ndev, "Mac address: %pM\n", mac_add);
|
||||||
|
memcpy(wl->vif[i]->src_addr, mac_add, ETH_ALEN);
|
||||||
memcpy(ndev->dev_addr, wl->vif[i]->src_addr, ETH_ALEN);
|
memcpy(ndev->dev_addr, wl->vif[i]->src_addr, ETH_ALEN);
|
||||||
|
|
||||||
if (!is_valid_ether_addr(ndev->dev_addr)) {
|
if (!is_valid_ether_addr(ndev->dev_addr)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user