* Inform Interface about Active CPorts. We don't need to do this
* operation for control cport.
*/
- if (cport_id != GB_CONTROL_CPORT_ID && cport_id != GB_SVC_CPORT_ID) {
+ if (cport_id != GB_CONTROL_CPORT_ID &&
+ connection->hd_cport_id != GB_SVC_CPORT_ID) {
struct gb_control *control = connection->bundle->intf->control;
ret = gb_control_connected_operation(control, cport_id);
* Inform Interface about In-active CPorts. We don't need to do this
* operation for control cport.
*/
- if (cport_id != GB_CONTROL_CPORT_ID && cport_id != GB_SVC_CPORT_ID) {
+ if (cport_id != GB_CONTROL_CPORT_ID &&
+ connection->hd_cport_id != GB_SVC_CPORT_ID) {
struct gb_control *control = connection->bundle->intf->control;
int ret;