summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rsi/rsi_91x_usb.c
diff options
context:
space:
mode:
authorKarun Eagalapati <karun256@gmail.com>2017-07-06 20:07:12 +0530
committerKalle Valo <kvalo@codeaurora.org>2017-07-28 17:22:36 +0300
commit5d16a1c1ae1193fdc8379fc4fb0b49b8ff9386db (patch)
tree615bcbd4b70b4039eed460b5d508d3d18b701a28 /drivers/net/wireless/rsi/rsi_91x_usb.c
parentac6107caa0d871e59a63f69e3617e47f1ed15c01 (diff)
rsi: rename USB endpoint macros
These endpoints are for WLAN and BT protocols. Signed-off-by: Karun Eagalapati <karun256@gmail.com> Signed-off-by: Amitkumar Karwar <amit.karwar@redpinesignals.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/rsi/rsi_91x_usb.c')
-rw-r--r--drivers/net/wireless/rsi/rsi_91x_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rsi/rsi_91x_usb.c b/drivers/net/wireless/rsi/rsi_91x_usb.c
index dc0a0b2e9afc..99967ce94a39 100644
--- a/drivers/net/wireless/rsi/rsi_91x_usb.c
+++ b/drivers/net/wireless/rsi/rsi_91x_usb.c
@@ -384,7 +384,7 @@ static int rsi_usb_host_intf_write_pkt(struct rsi_hw *adapter,
u32 queueno = ((pkt[1] >> 4) & 0x7);
u8 endpoint;
- endpoint = ((queueno == RSI_WIFI_MGMT_Q) ? MGMT_EP : DATA_EP);
+ endpoint = ((queueno == RSI_WIFI_MGMT_Q) ? WLAN_EP : BT_EP);
return rsi_write_multiple(adapter,
endpoint,