ath10k: refactor ath10k_peer_assoc_h_phymode()
authorKalle Valo <kvalo@qca.qualcomm.com>
Thu, 12 Jan 2017 11:02:11 +0000 (13:02 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 13 Jan 2017 13:26:26 +0000 (15:26 +0200)
commit06efdbe70f9c3bf98e6baacb80b6bac416a6818a
treec4732767ab0991c14beb3a797384fe0e50eff54c
parent714ee339ff90df37a41485497aca27b2421803f5
ath10k: refactor ath10k_peer_assoc_h_phymode()

When adding VHT160 support to ath10k_peer_assoc_h_phymode() the VHT mode
selection code becomes too complex. Simplify it by refactoring the vht part to
a separate function.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c