]> git.baikalelectronics.ru Git - kernel.git/commit
mrf24j40: calling ieee802154_register_hw at last
authorAlexander Aring <alex.aring@gmail.com>
Mon, 21 Sep 2015 09:24:24 +0000 (11:24 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 22 Sep 2015 09:51:21 +0000 (11:51 +0200)
commit0eb9cd78dfcdb0176c357de84aa4866a37ea9a6a
tree70c169e5fed1f3d47fa28dac2850b07e0025b4c1
parent734f2bb1e13741b48d7b0ebb7d71a896f6c1763b
mrf24j40: calling ieee802154_register_hw at last

The function ieee802154_register_hw should always called at last.
Currently we do hardware init and such things after register hardware
into the subsystem. It could be that the subsystem already call driver
operations while running hardware init.

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/mrf24j40.c