cfg80211: assign device type in netdev notifier callback
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 2 Oct 2009 05:15:28 +0000 (05:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Oct 2009 07:43:34 +0000 (00:43 -0700)
commit053a93dd126f68ba37973f95f00af6045fa7c957
tree2ecb601cf6ea7bb9c2f14649e2edcab06b7b1027
parent7ffbe3fdace0bdfcdab8dc6c77506feda0871f79
cfg80211: assign device type in netdev notifier callback

Instead of having to modify every non-mac80211 for device type assignment,
do this inside the netdev notifier callback of cfg80211. So all drivers
that integrate with cfg80211 will export a proper device type.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac80211/iface.c
net/wireless/core.c