rt2x00: Log RT/RF chipset information correctly.
authorGertjan van Wingerde <gwingerde@gmail.com>
Sat, 14 Nov 2009 19:20:35 +0000 (20:20 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Nov 2009 19:17:12 +0000 (14:17 -0500)
commit16475b095a9c952f16e626c142b30bc95cfeadb3
tree4957c6a7ce58354c50c8e236e1519d1152578f5d
parentcce5fc45f9e9570f320009431d033d5a8f6144cc
rt2x00: Log RT/RF chipset information correctly.

Some drivers (rt2800* most notably) cannot set the RF and RT chipset in
the correct order to have the information logging in rt2x00_set_chip
be correct.
Fix this by decoupling the setting of the chipset information from the
logging of the chipset information so that drivers can determine
themselves when all information is set.

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-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/rt2800lib.c
drivers/net/wireless/rt2x00/rt2x00.h
drivers/net/wireless/rt2x00/rt61pci.c
drivers/net/wireless/rt2x00/rt73usb.c