nl802154: fix Oops in ieee802154_nl_get_dev
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Fri, 19 Jun 2009 13:00:08 +0000 (17:00 +0400)
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Mon, 29 Jun 2009 14:20:27 +0000 (18:20 +0400)
ieee802154_nl_get_dev() lacks check for the existance of the device
that was returned by dev_get_XXX, thus resulting in Oops for non-existing
devices. Fix it.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>

No differences found