Author: robin Date: 2006-04-18 15:17:56 +0200 (Tue, 18 Apr 2006) New Revision: 123 Modified: KisMACng/Sources/Driver/USBIntersilJack/USBIntersil.mm Log: Removing unnecessary commented code. Modified: KisMACng/Sources/Driver/USBIntersilJack/USBIntersil.mm =================================================================== --- KisMACng/Sources/Driver/USBIntersilJack/USBIntersil.mm 2006-04-18 13:10:12 UTC (rev 122) +++ KisMACng/Sources/Driver/USBIntersilJack/USBIntersil.mm 2006-04-18 13:17:56 UTC (rev 123) @@ -89,13 +89,6 @@ if (!_devicePresent) return false; if (!_deviceInit) return false; - // _doCommand(wlcInit,0) seems to be the key part of _reset() to make the USB driver work after sleeping - // how about we only call this when an error occurs -/* if (_doCommand(wlcInit, 0) != kIOReturnSuccess) { - NSLog(@"USBIntersilJack::::startCapture: _doCommand(wlcInit, 0) failed\n"); - return false; - } */ - if ((!_isEnabled) && (_disable() != kIOReturnSuccess)) { NSLog(@"USBIntersilJack::::startCapture: Couldn't disable card\n"); return false;