Skip to content

Commit 9095635

Browse files
author
Teppo Järvelin
committed
Cellular: Fixed bc95 to accept only RAT_NB1 as it's only valid rat that modem supports.
1 parent 70dfbbf commit 9095635

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

features/cellular/framework/targets/QUECTEL/BC95/QUECTEL_BC95_CellularNetwork.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ AT_CellularNetwork::RegistrationMode QUECTEL_BC95_CellularNetwork::has_registrat
3636
nsapi_error_t QUECTEL_BC95_CellularNetwork::set_access_technology_impl(RadioAccessTechnology opRat)
3737
{
3838
if (opRat != RAT_NB1) {
39-
//TODO: Set as unknown or force to NB1?
40-
_op_act = RAT_UNKNOWN;
39+
// only rat that is supported by this modem
40+
_op_act = RAT_NB1;
4141
return NSAPI_ERROR_UNSUPPORTED;
4242
}
4343

0 commit comments

Comments
 (0)