net: ethernet: aquantia: Fixed missing rtnl_unlock.
authorPavel Belous <pavel.belous@aquantia.com>
Mon, 20 Feb 2017 19:36:44 +0000 (22:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Feb 2017 22:11:09 +0000 (17:11 -0500)
commitd5919aeba1cc7a2b90210256d617625fceaf4e06
tree6173e84ab7208cf2ed51dec3daaf9a79a80675f3
parent362f37b28ba52115be9b30134375b199ac612df4
net: ethernet: aquantia: Fixed missing rtnl_unlock.

rtnl_unlock should be called if error occurred.

Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>
Reviewed-by: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_nic.c