ath10k: move free_vdev_map initialization
authorMichal Kazior <michal.kazior@tieto.com>
Tue, 16 Jul 2013 07:38:55 +0000 (09:38 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 30 Jul 2013 15:01:19 +0000 (18:01 +0300)
commit1a1b8a889d1fad1a0b48c07c26b894085fcc692c
tree04a4875d72117c77f5b7e43abf465f1b492dab0b
parent8cd13cad1caf94ba66f626a94887b795fe23f939
ath10k: move free_vdev_map initialization

This is necessary for hw reconfiguration to work.
Since mac80211 is not calling remove_interface()
is such case we must reset free_vdev_map.

Also use a define instead of a hardcoded value for
vdev map initialization.

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