Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187966
b: refs/heads/master
c: 7e8a929
h: refs/heads/master
v: v3
  • Loading branch information
Ajit Khaparde authored and David S. Miller committed Mar 8, 2010
1 parent 1030bd0 commit c0d6248
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 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: 500ca9ba241304937c54c379e515b24400379353
refs/heads/master: 7e8a9298adf7531c58d73ba9c499353e3807cf19
9 changes: 0 additions & 9 deletions trunk/drivers/net/benet/be_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1993,16 +1993,7 @@ int be_load_fw(struct be_adapter *adapter, u8 *func)
struct be_dma_mem flash_cmd;
int status, i = 0;
const u8 *p;
char fw_ver[FW_VER_LEN];
char fw_cfg;

status = be_cmd_get_fw_ver(adapter, fw_ver);
if (status)
return status;

fw_cfg = *(fw_ver + 2);
if (fw_cfg == '0')
fw_cfg = '1';
strcpy(fw_file, func);

status = request_firmware(&fw, fw_file, &adapter->pdev->dev);
Expand Down

0 comments on commit c0d6248

Please sign in to comment.