mwifiex: separate ring initialization and ring creation routines
authorAvinash Patil <patila@marvell.com>
Sat, 9 Feb 2013 02:18:07 +0000 (18:18 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Feb 2013 20:34:57 +0000 (15:34 -0500)
commit0732484b47b57ef90bb08408d60fddbad0262d82
treeb62e9f6a8b1ed831f8f5c7132333c5cac457bb60
parentdd04e6acd828d51255fbb2d9b7b0e5b85df04f0b
mwifiex: separate ring initialization and ring creation routines

This patch separates PCIe ring initialization from ring creation
routines. This modularizes ring creation(TXBD, RXBD and event
rings) functions.

Readability has been improved while moving the code around.

Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/pcie.c