atm: [lec] initialize .netdev_ops before calling register_netdev()
authorchas williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Fri, 4 Dec 2009 05:19:30 +0000 (05:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Dec 2009 04:22:30 +0000 (20:22 -0800)
commiteb0445887a45a3705522aac6c2d8367e90358792
tree12b489c8b9a1092fafa558c0496ef2ef1c3f7b6c
parent2a8875e73ffb18165ceb245f99c2ccad77378051
atm: [lec] initialize .netdev_ops before calling register_netdev()

fix oops when initializing lane interfaces. lec should probably be
changed to use alloc_netdev() instead.

Signed-off-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/atm/lec.c