linux/drivers/staging/wlan-ng
Emil Goode 5f3b361a12 Staging: wlan-ng: Add missing argument
The commit c8442118 introduced a struct wireless_dev pointer
as a second argument of the function pointers set_tx_power
and get_tx_power. This patch adds the missing arguments for
the wlan-ng driver.

Sparse warnings:

drivers/staging/wlan-ng/cfg80211.c:735:25: warning:
	incorrect type in initializer (incompatible argument 2
	(different base types))
	drivers/staging/wlan-ng/cfg80211.c:735:25:
	expected int ( *set_tx_power )( ... )
	drivers/staging/wlan-ng/cfg80211.c:735:25:
	got int ( extern [toplevel] *<noident> )( ... )

drivers/staging/wlan-ng/cfg80211.c:736:25: warning:
	incorrect type in initializer (incompatible argument 2
	(different base types))
	drivers/staging/wlan-ng/cfg80211.c:736:25:
	expected int ( *get_tx_power )( ... )
	drivers/staging/wlan-ng/cfg80211.c:736:25:
	got int ( extern [toplevel] *<noident> )( ... )

drivers/staging/wlan-ng/cfg80211.c:735:2: warning:
	initialization from incompatible pointer type [enabled by default]

drivers/staging/wlan-ng/cfg80211.c:735:2: warning:
	(near initialization for ‘prism2_usb_cfg_ops.set_tx_power’)
	[enabled by default]

drivers/staging/wlan-ng/cfg80211.c:736:2: warning:
	initialization from incompatible pointer type [enabled by default]

drivers/staging/wlan-ng/cfg80211.c:736:2: warning:
	(near initialization for ‘prism2_usb_cfg_ops.get_tx_power’)
	[enabled by default]

Signed-off-by: Emil Goode <emilgoode@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 09:50:40 -08:00
..
cfg80211.c Staging: wlan-ng: Add missing argument 2013-01-07 09:50:40 -08:00
hfa384x_usb.c staging: wlan-ng: hfa384x_usb.c: fixed a coding style issue 2012-11-02 11:30:19 -07:00
hfa384x.h
Kconfig
Makefile
p80211conv.c staging:wlan-ng: cleanup p80211skb_free and p80211skb_rxmeta_detach 2012-09-10 15:42:51 -07:00
p80211conv.h
p80211hdr.h
p80211ioctl.h
p80211meta.h
p80211metadef.h
p80211metastruct.h
p80211mgmt.h
p80211msg.h
p80211netdev.c staging "wlan-ng" Fix typos. 2012-09-26 09:19:50 -07:00
p80211netdev.h staging:wlan-ng: make wlan_unsetup void 2012-09-13 20:22:24 -07:00
p80211req.c staging:wlan-ng: clean coding style problems in p80211req_mibset_mibget 2012-09-10 15:42:51 -07:00
p80211req.h
p80211types.h staging "wlan-ng" Fix typos. 2012-09-26 09:19:50 -07:00
p80211wep.c staging: wlan-ng: use %*phC to hexdump small buffers 2012-08-13 19:23:19 -07:00
prism2fw.c staging "wlan-ng" Fix typos. 2012-09-26 09:19:50 -07:00
prism2mgmt.c Staging: wlan-ng: off by one in prism2mgmt_scan_results() 2012-04-18 16:59:03 -07:00
prism2mgmt.h
prism2mib.c
prism2sta.c staging:wlan-ng: remove the remaining return at the end of void function 2012-09-13 20:22:25 -07:00
prism2usb.c USB: convert drivers/staging/* to use module_usb_driver() 2011-11-18 09:42:11 -08:00
README

TODO:
	- checkpatch.pl cleanups
	- sparse warnings
	- move to use the in-kernel wireless stack

Please send any patches or complaints about this driver to Greg
Kroah-Hartman <greg@kroah.com> and don't bother the upstream wireless
kernel developers about it, they want nothing to do with it.