commit | 2b4d413c3871af0f2ccd466fb6581ed2c2d89438 | [log] [tgz] |
---|---|---|
author | Alexander Aring <alex.aring@gmail.com> | Thu Apr 30 17:44:53 2015 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Thu Apr 30 18:46:21 2015 +0200 |
tree | b771b12b196f1e9cc75524fb7e27b36d91901d3e | |
parent | d24d81444f8caf1895256ef2d2e89ae8202a17e4 [diff] |
mac802154: fix ieee802154_register_hw error handling Currently if ieee802154_if_add failed, we don't unregister the wpan phy which was registered before. This patch adds a correct error handling for unregister the wpan phy when ieee802154_if_add failed. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>