Skip to content

Commit

Permalink
fix(dp): fixed get cbsd state response
Browse files Browse the repository at this point in the history
Signed-off-by: Wojciech Sadowy <wojciech.sadowy@freedomfi.com>
  • Loading branch information
Wojciech Sadowy committed Jun 30, 2022
1 parent 87d314c commit 9edd3d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,11 @@ def _build_result(self, cbsd: Optional[DBCbsd] = None, session: Optional[Session
if not grants or cbsd.is_deleted:
return CBSDStateResult(radio_enabled=False)
channels = self._build_lte_channels(grants)
logger.debug("grants=")
return CBSDStateResult(
radio_enabled=True,
carrier_aggregation_enabled=cbsd.carrier_aggregation_enabled,
channel=channels[0],
channels=channels,
)

def _build_lte_channels(self, grants: List[DBChannel]) -> List[LteChannel]:
Expand Down

0 comments on commit 9edd3d6

Please sign in to comment.