mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-14 12:37:32 +00:00
staging: vt6655: don't update bUpdateBBVGA when off channel
Check flag conf IEEE80211_CONF_OFFCHANNEL so that RSSI doesn't swing wildly on scanning. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f218f40d48
commit
d855802b8d
1 changed files with 1 additions and 0 deletions
|
@ -2040,6 +2040,7 @@ static irqreturn_t device_intr(int irq, void *dev_instance)
|
|||
if (pDevice->vif &&
|
||||
pDevice->op_mode != NL80211_IFTYPE_ADHOC) {
|
||||
if (pDevice->bUpdateBBVGA &&
|
||||
!(pDevice->hw->conf.flags & IEEE80211_CONF_OFFCHANNEL) &&
|
||||
pDevice->vif->bss_conf.assoc &&
|
||||
pDevice->uCurrRSSI) {
|
||||
long ldBm;
|
||||
|
|
Loading…
Reference in a new issue