summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/common
diff options
context:
space:
mode:
authorAndreas Eversberg2011-06-26 10:53:28 +0200
committerAndreas Eversberg2011-07-17 12:15:04 +0200
commit051dedd23551854ceecc0241af2edad07e15df88 (patch)
tree4a8a7e892667e19935b8be560a4ed56aa85235f7 /src/host/layer23/include/osmocom/bb/common
parent[layer23] Correctly report to restart mobile instance after band change (diff)
downloadosmocom-051dedd23551854ceecc0241af2edad07e15df88.tar.gz
osmocom-051dedd23551854ceecc0241af2edad07e15df88.tar.xz
osmocom-051dedd23551854ceecc0241af2edad07e15df88.zip
[layer23] Added special return value for invalid MCC/MNC input
This way an MNC of 000 can be entered.
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/common')
-rw-r--r--src/host/layer23/include/osmocom/bb/common/networks.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/common/networks.h b/src/host/layer23/include/osmocom/bb/common/networks.h
index e8c1b18..e681216 100644
--- a/src/host/layer23/include/osmocom/bb/common/networks.h
+++ b/src/host/layer23/include/osmocom/bb/common/networks.h
@@ -1,6 +1,8 @@
#ifndef _NETWORKS_H
#define _NETWORKS_H
+#define GSM_INPUT_INVALID 0xffff
+
struct gsm_networks {
uint16_t mcc;
int16_t mnc;