ath9k: simplify beacon configuration for beaconing vifs
As of now beacon configuration is being called multiple times in bss info change notification. This patch avoids multiple configuration and make it simpler. Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
此提交包含在:
@@ -817,8 +817,10 @@ void ath9k_set_beaconing_status(struct ath_softc *sc, bool status)
|
||||
{
|
||||
struct ath_hw *ah = sc->sc_ah;
|
||||
|
||||
if (!ath_has_valid_bslot(sc))
|
||||
if (!ath_has_valid_bslot(sc)) {
|
||||
sc->sc_flags &= ~SC_OP_BEACONS;
|
||||
return;
|
||||
}
|
||||
|
||||
ath9k_ps_wakeup(sc);
|
||||
if (status) {
|
||||
|
新增問題並參考
封鎖使用者