File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -368,6 +368,7 @@ bool AirportItlwm::start(IOService *provider)
368
368
super::stop (pciNub);
369
369
return false ;
370
370
}
371
+ _fWorkloop = OSDynamicCast (IO80211WorkLoop, getWorkLoop ());
371
372
if (_fWorkloop == NULL ) {
372
373
XYLog (" No _fWorkloop!!\n " );
373
374
super::stop (pciNub);
@@ -482,21 +483,6 @@ bool AirportItlwm::initPCIPowerManagment(IOPCIDevice *provider)
482
483
return true ;
483
484
}
484
485
485
- bool AirportItlwm::createWorkLoop ()
486
- {
487
- _fWorkloop = nullptr ;
488
- if (super::createWorkLoop ())
489
- {
490
- _fWorkloop = OSDynamicCast (IO80211WorkLoop, super::getWorkLoop ());
491
- }
492
- return _fWorkloop != nullptr ;
493
- }
494
-
495
- IOWorkLoop *AirportItlwm::getWorkLoop () const
496
- {
497
- return _fWorkloop;
498
- }
499
-
500
486
IOReturn AirportItlwm::selectMedium (const IONetworkMedium *medium)
501
487
{
502
488
setSelectedMedium (medium);
@@ -587,7 +573,7 @@ void AirportItlwm::releaseAll()
587
573
fWatchdogWorkLoop ->release ();
588
574
fWatchdogWorkLoop = NULL ;
589
575
}
590
- _fWorkloop->release ();
576
+ // _fWorkloop->release();
591
577
_fWorkloop = NULL ;
592
578
}
593
579
unregistPM ();
You can’t perform that action at this time.
0 commit comments