]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: wwan: iosm: correct data protocol mask bit
authorM Chetan Kumar <m.chetan.kumar@linux.intel.com>
Wed, 4 Aug 2021 16:09:51 +0000 (21:39 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Aug 2021 10:28:55 +0000 (11:28 +0100)
Correct ul/dl data protocol mask bit to know which protocol capability
does device implement.

Signed-off-by: M Chetan Kumar <m.chetan.kumar@linux.intel.com>
Reviewed-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wwan/iosm/iosm_ipc_mmio.h

index 45e6923da78f9b75ecaa7996aed83fea0c586875..f861994a6d90b7a6872401411df3575f4fbb5f6a 100644 (file)
 #define IOSM_CP_VERSION 0x0100UL
 
 /* DL dir Aggregation support mask */
-#define DL_AGGR BIT(23)
+#define DL_AGGR BIT(9)
 
 /* UL dir Aggregation support mask */
-#define UL_AGGR BIT(22)
+#define UL_AGGR BIT(8)
 
 /* UL flow credit support mask */
 #define UL_FLOW_CREDIT BIT(21)