summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-01-17 16:34:55 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2023-01-17 19:49:10 +0100
commit50097dd4c0f20b7a11abd30bd05524aa62a76513 (patch)
treed3c3b9601f81040ad792bc08cc5a2e040bc496f5
parentb8cc5b8c9a5566e3726277844e2ddf84c50a3f91 (diff)
layer23: Use shift operand to define bitmask values
-rw-r--r--src/host/layer23/include/osmocom/bb/common/l23_app.h10
1 files 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 3c07f705..46c3f44b 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 @@ struct vty_app_info;
/* 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;