summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/dpc.c
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2015-01-19 18:24:12 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-25 19:59:16 +0800
commite6f534bc2fbda029ddc43d816151893454224e52 (patch)
tree2c6cc044bcfb3463d79de954a9be0dff0cf03afc /drivers/staging/vt6655/dpc.c
parent63e8d787b0bbfc9bfca6d7ecdeb6548e6baa6f9e (diff)
downloadop-kernel-dev-e6f534bc2fbda029ddc43d816151893454224e52.zip
op-kernel-dev-e6f534bc2fbda029ddc43d816151893454224e52.tar.gz
staging: vt6655: remove antenna diversity functions
The vendor had disabled these functions in their last version. On test this can be troublesome, so remove this from the driver along with its macros and timers. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/dpc.c')
-rw-r--r--drivers/staging/vt6655/dpc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/vt6655/dpc.c b/drivers/staging/vt6655/dpc.c
index 977683c..11cc090 100644
--- a/drivers/staging/vt6655/dpc.c
+++ b/drivers/staging/vt6655/dpc.c
@@ -116,12 +116,6 @@ static bool vnt_rx_data(struct vnt_private *priv, struct sk_buff *skb,
rx_status.flag = RX_FLAG_DECRYPTED;
}
- if (priv->vif && priv->bDiversityEnable) {
- if (ieee80211_is_data(fc) &&
- (frame_size > 50) && priv->vif->bss_conf.assoc)
- BBvAntennaDiversity(priv, priv->rx_rate, 0);
- }
-
memcpy(IEEE80211_SKB_RXCB(skb), &rx_status, sizeof(rx_status));
ieee80211_rx_irqsafe(priv->hw, skb);
OpenPOWER on IntegriCloud