etheriwl: delay before crystal calibration
On my 6235 card, if we calibrate the crystal immediately after disabling wimax, the the firmware gets unhappy. A short nap before sending the command prevents the command from timing out.
This commit is contained in:
parent
98c07541bb
commit
83efe2f157
1 changed files with 2 additions and 0 deletions
|
@ -2892,6 +2892,8 @@ postboot6000(Ctlr *ctlr)
|
|||
if((err = cmd(ctlr, 90, c, 4+4*16)) != nil)
|
||||
return err;
|
||||
|
||||
/* 6235 times out if we calibrate the crystal immediately */
|
||||
tsleep(&up->sleep, return0, nil, 10);
|
||||
if(ctlr->type != Type5150){
|
||||
/* calibrate crystal */
|
||||
memset(c, 0, sizeof(c));
|
||||
|
|
Loading…
Reference in a new issue