]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/net/wireless/rt2x00/rt2500usb.c
rt2x00: Restrict interface between rt2x00link and drivers
authorIvo van Doorn <ivdoorn@gmail.com>
Sat, 20 Dec 2008 09:54:54 +0000 (10:54 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 20:58:35 +0000 (15:58 -0500)
commit5352ff6510422d9a9bf13b7272f865eb53247f4d
treeec85fd9933b3d79cf4ae844c36f0803168203f06
parenteb20b4e8a6998ca68d9ac0963ee36a1a36fe241d
rt2x00: Restrict interface between rt2x00link and drivers

Restrict drivers to only access link_qual structure during
link tuning. The contents of these fields are for the drivers
and all fields are allowed to be changed to values the driver
considers correct.

This means that some fields need to be moved outside of this
structure to restrict access only to rt2x00link itself.
This allows some code to be moved outside of the rt2x00.h header
and into rt2x00link.c.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2400pci.c
drivers/net/wireless/rt2x00/rt2500pci.c
drivers/net/wireless/rt2x00/rt2500usb.c
drivers/net/wireless/rt2x00/rt2x00.h
drivers/net/wireless/rt2x00/rt2x00link.c
drivers/net/wireless/rt2x00/rt61pci.c
drivers/net/wireless/rt2x00/rt73usb.c