summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rsi/rsi_usb.h
diff options
context:
space:
mode:
authoramit karwar <amitkarwar@gmail.com>2017-05-16 13:01:09 +0300
committerKalle Valo <kvalo@codeaurora.org>2017-05-24 16:37:49 +0300
commit7bdead7ae944c06ef5916e22254929f583684b4a (patch)
treec6a51615c7a6f7a3c39fce966249f81e03cd331a /drivers/net/wireless/rsi/rsi_usb.h
parent897d341dee4f44659ed4b705ae59500fa6b74b28 (diff)
downloadlinux-7bdead7ae944c06ef5916e22254929f583684b4a.tar.xz
rsi: define RSI_USB_BUF_SIZE macro
RSI_USB_BUF_SIZE macro is used instead of hardcoding a buffer size to 4096. 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_usb.h')
-rw-r--r--drivers/net/wireless/rsi/rsi_usb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/rsi/rsi_usb.h b/drivers/net/wireless/rsi/rsi_usb.h
index ebea0c411ead..48c9211fac09 100644
--- a/drivers/net/wireless/rsi/rsi_usb.h
+++ b/drivers/net/wireless/rsi/rsi_usb.h
@@ -35,6 +35,8 @@
#define MGMT_EP 1
#define DATA_EP 2
+#define RSI_USB_BUF_SIZE 4096
+
struct rsi_91x_usbdev {
struct rsi_thread rx_thread;
u8 endpoint;