Skip to content

Commit

Permalink
fix confused log
Browse files Browse the repository at this point in the history
  • Loading branch information
zxystd committed Aug 14, 2020
1 parent 2f1bdda commit 1b126d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Ath3kBT/Ath3kBT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ OSDefineMetaClassAndStructors(Ath3kBT, AtherosFWService)

bool Ath3kBT::init(OSDictionary *propTable)
{
IOLog("%s::probe\n", __FUNCTION__);
IOLog("%s::probe\n", getName());
return (super::init(propTable));
}

IOService* Ath3kBT::probe(IOService *provider, SInt32 *score)
{
IOLog("%s::probe\n", __FUNCTION__);
IOLog("%s::probe\n", getName());
super::probe(provider, score);
return this;
}
Expand Down Expand Up @@ -445,8 +445,8 @@ bool Ath3kBT::loadFwFile(OSData *fwData)

char *buf = (char *)fwData->getBytesNoCopy();
size = fwData->getLength();
buf += 20;
size -= 20;
buf += FW_HDR_SIZE;
size -= FW_HDR_SIZE;
int ii = 1;
while (size) {
int to_send = size < BULK_SIZE ? size : BULK_SIZE;
Expand Down

0 comments on commit 1b126d6

Please sign in to comment.