mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
osmo_grace: Allow new connections when the network policy is S_RF_ON.
In case of S_RF_OFF and S_RF_GRACE we will allow new connections.
This commit is contained in:
@@ -20,8 +20,10 @@
|
||||
*/
|
||||
|
||||
#include <openbsc/bsc_msc_grace.h>
|
||||
#include <openbsc/bsc_msc_rf.h>
|
||||
#include <openbsc/signal.h>
|
||||
|
||||
int bsc_grace_allow_new_connection(struct gsm_network *network)
|
||||
{
|
||||
return 1;
|
||||
return network->rf->policy == S_RF_ON;
|
||||
}
|
||||
|
Reference in New Issue
Block a user