Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 247087
b: refs/heads/master
c: b9b0fde
h: refs/heads/master
i:
  247085: 38891fe
  247083: af5bd69
  247079: 0b464ce
  247071: 4c90494
v: v3
  • Loading branch information
Shahar Levi authored and Luciano Coelho committed Apr 19, 2011
1 parent 9c9ede1 commit 4264169
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 62c7d085e1f2a1f2b4d89560551eff18d703b3b1
refs/heads/master: b9b0fdead0e8d964a534e5b09f40d8bd4bf7dfe8
14 changes: 7 additions & 7 deletions trunk/drivers/net/wireless/wl12xx/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -585,13 +585,6 @@ int wl1271_load_firmware(struct wl1271 *wl)
/* 6. read the EEPROM parameters */
tmp = wl1271_read32(wl, SCR_PAD2);

ret = wl1271_boot_write_irq_polarity(wl);
if (ret < 0)
goto out;

wl1271_write32(wl, ACX_REG_INTERRUPT_MASK,
WL1271_ACX_ALL_EVENTS_VECTOR);

/* WL1271: The reference driver skips steps 7 to 10 (jumps directly
* to upload_fw) */

Expand All @@ -618,6 +611,13 @@ int wl1271_boot(struct wl1271 *wl)
if (ret < 0)
goto out;

ret = wl1271_boot_write_irq_polarity(wl);
if (ret < 0)
goto out;

wl1271_write32(wl, ACX_REG_INTERRUPT_MASK,
WL1271_ACX_ALL_EVENTS_VECTOR);

/* Enable firmware interrupts now */
wl1271_boot_enable_interrupts(wl);

Expand Down

0 comments on commit 4264169

Please sign in to comment.