mwl8k: fix up AP vs. STA firmware image receive descriptor handling
authorLennert Buytenhek <buytenh@wantstofly.org>
Mon, 30 Nov 2009 17:32:54 +0000 (18:32 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Dec 2009 21:31:27 +0000 (16:31 -0500)
commit89a91f4f4cdae92daf3693d4852ae4958abb6c58
tree61fdf65da76ee32a78870163706eba223b1161eb
parentbe695fc4f0a7ff9c9f91d59536b029b781cfea62
mwl8k: fix up AP vs. STA firmware image receive descriptor handling

The receive descriptor ops that are currently marked as being for
8687 only are actually used for all STA firmware images, whereas the
receive descriptor ops marked as 8366 are only used on 8366 when an
AP firmware image is in use.

Rename the receive descriptor ops to reflect this, use the STA ops
unconditionally if the firmware image loaded reported the STA ready
code, and rename the mwl8k_device_info::rxd_ops member to ap_rxd_ops
to indicate that it should only be used if we are running on AP
firmware.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c