aboutsummaryrefslogtreecommitdiffstats
path: root/CommonLibs
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-06-04 12:39:28 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-06-05 12:50:38 +0200
commitb426e4abb43c6a6d779858baad4760c2401f9732 (patch)
tree5d483cc266adc28b98cfc48fc35e2b431b15c642 /CommonLibs
parent4456b6f132437a95833e3a3d3353836331b9c8a0 (diff)
Rename and move STOP signal from Transceiver to main
The callback actually belongs there, since it's the code/thread in main the one actually in charge of stopping everything. It simplifies current code, and more important, allows for new clients of this signal to use it. This callback will also be used in forthcoming commits by code controlling rate_ctr thresholds to stop the process if the VTY configured threshold is used. Change-Id: Id4159e64225c6606fef34a74b24f37c3a071aceb
Diffstat (limited to 'CommonLibs')
-rw-r--r--CommonLibs/osmo_signal.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/CommonLibs/osmo_signal.h b/CommonLibs/osmo_signal.h
index 7299171..6ee1bf9 100644
--- a/CommonLibs/osmo_signal.h
+++ b/CommonLibs/osmo_signal.h
@@ -26,13 +26,13 @@
/* Signalling subsystems */
enum signal_subsystems {
- SS_TRANSC,
+ SS_MAIN,
SS_DEVICE,
};
-/* SS_TRANSC signals */
-enum SS_TRANSC {
- S_TRANSC_STOP_REQUIRED, /* Transceiver fatal error, it should be stopped */
+/* SS_MAIN signals */
+enum SS_MAIN {
+ S_MAIN_STOP_REQUIRED, /* TRX fatal error, it should be stopped */
};
/* SS_DEVICE signals */