ath10k: split ce pipe init/alloc further
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 20 Oct 2014 12:14:39 +0000 (14:14 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 23 Oct 2014 13:41:32 +0000 (16:41 +0300)
commit84cbf3a7592879810f80cece6c7f736f099ab163
tree819af4deceb5e0f3d0c2cc425affafcab0326aef
parent7c0f0e3c9797e5a08d15da68812f24eadaf9e82b
ath10k: split ce pipe init/alloc further

Calling init to reinit ce pipe state would also
re-set all static structure links and setting
(which don't change over driver lifecycle).

Make it so alloc links structures and initializes
static data and init part to setup state
variables and clear stuff.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/ce.c
drivers/net/wireless/ath/ath10k/ce.h
drivers/net/wireless/ath/ath10k/pci.c