OpenCloudOS-Kernel/drivers/staging/wlan-ng
Wang Chen 979123d534 staging-p80211: Kill directly reference of netdev->priv
In this driver, netdev's private data is wlandevice_t.  And the
wlandev(type of wlandevice_t) is exist before netdev be allocated.  So
use netdev->ml_priv to point to the private data.

I am not sure whether I should consider the kernel version older than
2.3.38.  Because in those kernels, netdevice_t is "structure dev"
instead of "structure net_device" and of course "dev->ml_priv" will
cause compile error.  But before my patch, in function wlan_setup(),
there is a ether_setup(net_device) which already broke kernels which
older than 2.3.38.

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-12-06 23:58:37 -08:00
..
Kconfig Staging: wlan-ng: fix build error if wireless networking is not enabled 2008-10-22 09:56:35 -07:00
Makefile
README
hfa384x.c
hfa384x.h
hfa384x_usb.c
p80211conv.c
p80211conv.h
p80211hdr.h
p80211ioctl.h
p80211meta.h
p80211metadef.h
p80211metamib.h
p80211metamsg.h
p80211metastruct.h
p80211mgmt.h
p80211mod.c
p80211msg.h
p80211netdev.c staging-p80211: Kill directly reference of netdev->priv 2008-12-06 23:58:37 -08:00
p80211netdev.h
p80211req.c
p80211req.h
p80211types.h
p80211wep.c staging: wlan-ng: prism2: remove more duplicated #include 2008-10-22 09:56:31 -07:00
p80211wext.c staging-p80211: Kill directly reference of netdev->priv 2008-12-06 23:58:37 -08:00
prism2_cs.c
prism2_pci.c
prism2_plx.c
prism2_usb.c
prism2mgmt.c
prism2mgmt.h
prism2mib.c Staging: wlan-ng: prism2: remove duplicated #include 2008-10-22 09:56:31 -07:00
prism2sta.c
version.h
wlan_compat.h Staging: remove remaining uses of __FUNCTION__ 2008-10-22 09:56:36 -07:00

README

TODO:
	- checkpatch.pl cleanups
	- sparse warnings
	- Lindent cleanups
	- move to use the in-kernel wireless stack
	- possible enable the pcmcia and pci portions of the driver

Please send all patches to Greg Kroah-Hartman <greg@kroah.com>