summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/rxtx.c
diff options
context:
space:
mode:
authorMalcolm Priestley2014-03-22 10:01:31 +0100
committerGreg Kroah-Hartman2014-04-19 01:05:29 +0200
commitf4554d3b0e46ca126a22f556cf840543d16e308b (patch)
tree25b98263d07177549edb6409ba7abe8e5eea52b7 /drivers/staging/vt6656/rxtx.c
parentstaging: vt6656: rxtx Replace vnt_tx_fifo_head wReserved (diff)
downloadkernel-qcow2-linux-f4554d3b0e46ca126a22f556cf840543d16e308b.tar.gz
kernel-qcow2-linux-f4554d3b0e46ca126a22f556cf840543d16e308b.tar.xz
kernel-qcow2-linux-f4554d3b0e46ca126a22f556cf840543d16e308b.zip
staging: vt6656: vnt_fill_ieee80211_rts replace TYPE_CTL_RTS macro
Replace with IEEE80211_FTYPE_CTL | IEEE80211_STYPE_RTS from linux/ieee80211.h to get value of TYPE_CTL_RTS and endian correct to frame_control. Remove old macros in tether.h Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/rxtx.c')
-rw-r--r--drivers/staging/vt6656/rxtx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c
index 2b67b1bdd90b..ac60999bc067 100644
--- a/drivers/staging/vt6656/rxtx.c
+++ b/drivers/staging/vt6656/rxtx.c
@@ -551,7 +551,8 @@ static int vnt_fill_ieee80211_rts(struct vnt_private *priv,
__le16 duration)
{
rts->duration = duration;
- rts->frame_control = TYPE_CTL_RTS;
+ rts->frame_control =
+ cpu_to_le16(IEEE80211_FTYPE_CTL | IEEE80211_STYPE_RTS);
if (priv->op_mode == NL80211_IFTYPE_ADHOC ||
priv->op_mode == NL80211_IFTYPE_AP)