Support for quadport mode removal

- Fixed the reboot scenarios while cleaning up the quadport mode
- Updated the type to pass the interface number instead of interface location.