UPSTREAM: ath10k: set phymode to 11b when NO_OFDM flag set

phymode should use 11b only if NO_OFDM flags is set.
Hence check up channel flag for NO_OFDM and set to
11b.

BUG=chrome-os-partner:32317
TEST=build/boot on storm suceeded. Setup Storm board as AP using hostapd and
connected to the board using another device. Device was able to connect to
the internet and load multiple websites.

Signed-off-by: Peter Oh <poh@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
(cherry picked from commit 6faab1273f79788a7d90f8c3c99b9b8f3b404c98)
(source: https://github.com/kvalo/ath.git)

Change-Id: I3f1bcb85b9ce35b10c151a8bd86d8b330bccfc75
Reviewed-on: https://chromium-review.googlesource.com/239130
Reviewed-by: Toshi Kikuchi <toshik@chromium.org>
Tested-by: Viswanath Kraleti <vkraleti@codeaurora.org>
1 file changed