diff options
author | ftrvxmtrx <devnull@localhost> | 2014-04-27 15:12:15 +0200 |
---|---|---|
committer | ftrvxmtrx <devnull@localhost> | 2014-04-27 15:12:15 +0200 |
commit | 9f2e627ec683f3d6654da6c0ec04790fe226f395 (patch) | |
tree | b451d732a23ff04a548b6b33da8feadaffaf1da1 /sys/src | |
parent | c0fada1560792b0177554888976cf17912b034fc (diff) |
iwl: support another (broken) variant of centrino ultimate-n 6300
Diffstat (limited to 'sys/src')
-rw-r--r-- | sys/src/9/pc/etheriwl.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/src/9/pc/etheriwl.c b/sys/src/9/pc/etheriwl.c index cff2a6d79..b82536084 100644 --- a/sys/src/9/pc/etheriwl.c +++ b/sys/src/9/pc/etheriwl.c @@ -1309,7 +1309,8 @@ postboot(Ctlr *ctlr) c[3] = 1; /* isvalid */ c[4] = ctlr->eeprom.crystal; c[5] = ctlr->eeprom.crystal>>16; - if((err = cmd(ctlr, 176, c, 8)) != nil) + /* for some reason 8086:4238 needs a second try */ + if(cmd(ctlr, 176, c, 8) != nil && (err = cmd(ctlr, 176, c, 8)) != nil) return err; } @@ -2303,7 +2304,8 @@ iwlpci(void) case 0x4237: /* Wifi Link 5100 AGN */ case 0x423d: /* Wifi Link 5150 */ case 0x0085: /* Centrino Advanced-N 6205 */ - case 0x422b: /* Centrino Ultimate-N 6300 */ + case 0x422b: /* Centrino Ultimate-N 6300 variant 1 */ + case 0x4238: /* Centrino Ultimate-N 6300 variant 2 */ case 0x08ae: /* Centrino Wireless-N 100 */ break; } |