pespin submitted this change.
layer23: Use shift operand to define bitmask values
Change-Id: I22e2f543c077a4df4623c5e3bd44f8f068596baf
---
M src/host/layer23/include/osmocom/bb/common/l23_app.h
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/host/layer23/include/osmocom/bb/common/l23_app.h b/src/host/layer23/include/osmocom/bb/common/l23_app.h
index 3c07f70..46c3f44 100644
--- a/src/host/layer23/include/osmocom/bb/common/l23_app.h
+++ b/src/host/layer23/include/osmocom/bb/common/l23_app.h
@@ -6,11 +6,11 @@
/* Options supported by the l23 app */
enum {
- L23_OPT_SAP = 1,
- L23_OPT_ARFCN = 2,
- L23_OPT_TAP = 4,
- L23_OPT_VTY = 8,
- L23_OPT_DBG = 16,
+ L23_OPT_SAP = 1 << 0,
+ L23_OPT_ARFCN = 1 << 1,
+ L23_OPT_TAP = 1 << 2,
+ L23_OPT_VTY = 1 << 3,
+ L23_OPT_DBG = 1 << 4,
};
extern void *l23_ctx;
To view, visit change 31005. To unsubscribe, or for help writing mail filters, visit settings.