Skip to content
Commit 0465be8f authored by Varka Bhadram's avatar Varka Bhadram Committed by David S. Miller
Browse files

net: cpmac: fix in releasing resources



before registering the the net device this code freeing net device
by using the label 'fail'

fixed by introducing an another label 'out'

Signed-off-by: default avatarVarka Bhadram <varkab@cdac.in>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 55064efd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment