Message ID | 877h57jwmh.fsf@tac.ki.iif.hu |
---|---|
State | Not Applicable, archived |
Delegated to: | David Miller |
Headers | show |
--- a/net/wireless/core.c +++ b/net/wireless/core.c @@ -616,9 +616,8 @@ int wiphy_register(struct wiphy *wiphy) if (res) goto out_rm_dev; - rtnl_lock(); + WARN_ON(rtnl_is_locked()); rdev->wiphy.registered = true; - rtnl_unlock(); return 0; on top of c455ea4f (rc6+) leads to a working system with