]> git.karo-electronics.de Git - linux-beck.git/commit
ath10k: clean up monitor start code
authorMichal Kazior <michal.kazior@tieto.com>
Tue, 13 Aug 2013 05:54:54 +0000 (07:54 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 14 Aug 2013 15:00:00 +0000 (18:00 +0300)
commit7a53f3f38ad4746c82496293bfb48fae69d71c64
treeeed0c1eae931ac6d474df686227c69a85dd41aef
parent9c5ae6915d6f8cf682006e4067de80d22431d92e
ath10k: clean up monitor start code

Remove useless code that was causing WARN_ON when
a 80MHz+ vif entered promiscuous mode or monitor
interface was started.

The channel mode is already computed by
chan_to_phymode().

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