etheriwl: check the bluetooth co-existance errors (thanks qeed)

This commit is contained in:
cinap_lenrek 2015-04-26 18:02:49 +02:00
parent e10287042e
commit 64849ab5f3

View file

@ -1498,8 +1498,10 @@ postboot(Ctlr *ctlr)
if((err = cmd(ctlr, 152, c, 4)) != nil)
return err;
if(ctlr->type == Type2030)
sendbtcoexadv(ctlr);
if(ctlr->type == Type2030){
if((err = sendbtcoexadv(ctlr)) != nil)
return err;
}
}
}