net: introduce NETDEV_POST_INIT notifier
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 2 Oct 2009 05:15:27 +0000 (05:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Oct 2009 07:43:34 +0000 (00:43 -0700)
commit7ffbe3fdace0bdfcdab8dc6c77506feda0871f79
tree97c0905b309bded1f37f94070315ce16ad65f487
parent225794f8c33fd32721ae1cd3576db99810351d7b
net: introduce NETDEV_POST_INIT notifier

For various purposes including a wireless extensions
bugfix, we need to hook into the netdev creation before
before netdev_register_kobject(). This will also ease
doing the dev type assignment that Marcel was working
on for cfg80211 drivers w/o touching them all.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/notifier.h
net/core/dev.c