]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4f584b941ab4041eb5c7190497c456631d9f584d
tree2ecb601cf6ea7bb9c2f14649e2edcab06b7b1027
parentb6a86c54a5e17cf54612b451f314cda79184b220
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