projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mac802154: fix ieee802154_register_hw error handling
[deliverable/linux.git]
/
net
/
mac802154
/
main.c
diff --git
a/net/mac802154/main.c
b/net/mac802154/main.c
index 8500378c8318cd3b5b7e3a368f44080b40c5900f..beece7b7a776c2193187bf9d7c91727a4dfcd62c 100644
(file)
--- a/
net/mac802154/main.c
+++ b/
net/mac802154/main.c
@@
-166,13
+166,15
@@
int ieee802154_register_hw(struct ieee802154_hw *hw)
if (IS_ERR(dev)) {
rtnl_unlock();
rc = PTR_ERR(dev);
- goto out_
wq
;
+ goto out_
phy
;
}
rtnl_unlock();
return 0;
+out_phy:
+ wpan_phy_unregister(local->phy);
out_wq:
destroy_workqueue(local->workqueue);
out:
This page took
0.066465 seconds
and
5
git commands to generate.