]> git.baikalelectronics.ru Git - kernel.git/commit
orinoco: initiate cfg80211 conversion
authorDavid Kilroy <kilroyd@googlemail.com>
Thu, 18 Jun 2009 22:21:26 +0000 (23:21 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 19:01:44 +0000 (15:01 -0400)
commit513861548696a563e03590e57115547083eb0858
tree1c6b80d7d6a2129fe33591508ac125b65100fa09
parent1870f7aac870e5bd0ae8d06199333f30be4aafb2
orinoco: initiate cfg80211 conversion

Initialise and register a wiphy.

Store the orinoco_private structure in the new wiphy, and use the
net_device private area to store the wireless_dev. This results in a
change to the way we navigate from a net_device to the driver private
orinoco_private, which we encapsulate in the inline function ndev_priv.
Most of the remaining calls to netdev_priv are thus replaced by
ndev_priv.

We can immediately rely on cfg80211 to handle SIOCGIWNAME, so
orinoco_ioctl_getname is removed.

Signed-off-by: David Kilroy <kilroyd@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/orinoco/Kconfig
drivers/net/wireless/orinoco/Makefile
drivers/net/wireless/orinoco/cfg.c [new file with mode: 0644]
drivers/net/wireless/orinoco/cfg.h [new file with mode: 0644]
drivers/net/wireless/orinoco/main.c
drivers/net/wireless/orinoco/orinoco.h
drivers/net/wireless/orinoco/wext.c