summaryrefslogtreecommitdiffstats
path: root/libs/NCSI/ncsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/NCSI/ncsi.c')
-rw-r--r--libs/NCSI/ncsi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/NCSI/ncsi.c b/libs/NCSI/ncsi.c
index 3ecabdc..da90346 100644
--- a/libs/NCSI/ncsi.c
+++ b/libs/NCSI/ncsi.c
@@ -315,6 +315,8 @@ static void enableChannelHandler(NetworkFrame_t *frame)
debug("Enable Channel: %x\n", ch);
gPackageState.port[ch]->shm_channel->NcsiChannelInfo.bits.Enabled = true;
+ Network_InitPort(gPackageState.port[ch]);
+
sendNCSIResponse(frame->controlPacket.InstanceID, frame->controlPacket.ChannelID, frame->controlPacket.ControlPacketType,
NCSI_RESPONSE_CODE_COMMAND_COMPLETE, NCSI_REASON_CODE_NONE);
}
OpenPOWER on IntegriCloud