Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130486
b: refs/heads/master
c: 1f304e4
h: refs/heads/master
v: v3
  • Loading branch information
Zhu, Yi authored and John W. Linville committed Jan 29, 2009
1 parent af18425 commit 538dfa1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eb83bbf57429ab80f49b413e3e44d3b19c3fdc5a
refs/heads/master: 1f304e4e3bb161163d9f5bc3c6467a2a6fa9b3ae
4 changes: 4 additions & 0 deletions trunk/drivers/net/wireless/iwlwifi/iwl-agn.c
Original file line number Diff line number Diff line change
Expand Up @@ -1719,6 +1719,10 @@ static int iwl_read_ucode(struct iwl_priv *priv)
priv->ucode_data_backup.len = data_size;
iwl_alloc_fw_desc(priv->pci_dev, &priv->ucode_data_backup);

if (!priv->ucode_code.v_addr || !priv->ucode_data.v_addr ||
!priv->ucode_data_backup.v_addr)
goto err_pci_alloc;

/* Initialization instructions and data */
if (init_size && init_data_size) {
priv->ucode_init.len = init_size;
Expand Down

0 comments on commit 538dfa1

Please sign in to comment.