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 Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
README Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
hfa384x.c Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
hfa384x.h staging: balance parenthesis in wlan-ng headers 2008-10-22 09:56:30 -07:00
hfa384x_usb.c Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
p80211conv.c Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
p80211conv.h Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
p80211hdr.h Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
p80211ioctl.h Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
p80211meta.h Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
p80211metadef.h Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
p80211metamib.h Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
p80211metamsg.h Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
p80211metastruct.h Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
p80211mgmt.h Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
p80211mod.c Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
p80211msg.h Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
p80211netdev.c staging-p80211: Kill directly reference of netdev->priv 2008-12-06 23:58:37 -08:00
p80211netdev.h Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
p80211req.c Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
p80211req.h Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
p80211types.h Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
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 Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
prism2_pci.c Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
prism2_plx.c Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
prism2_usb.c Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
prism2mgmt.c Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
prism2mgmt.h Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
prism2mib.c Staging: wlan-ng: prism2: remove duplicated #include 2008-10-22 09:56:31 -07:00
prism2sta.c Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
version.h Staging: add wlan-ng prism2 usb driver 2008-10-10 15:31:10 -07:00
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>