mirror of https://gitee.com/openkylin/linux.git
staging: vt6655: reset tsf on dissociation
Ensuring that tsf counter does not run while idle. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d855802b8d
commit
c7b14ea096
|
@ -2980,6 +2980,11 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw,
|
|||
|
||||
CARDvSetFirstNextTBTT(priv->PortOffset,
|
||||
conf->beacon_int);
|
||||
} else {
|
||||
VNSvOutPortB(priv->PortOffset + MAC_REG_TFTCTL,
|
||||
TFTCTL_TSFCNTRST);
|
||||
VNSvOutPortB(priv->PortOffset + MAC_REG_TFTCTL,
|
||||
TFTCTL_TSFCNTREN);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue