Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300888
b: refs/heads/master
c: ea54a6d
h: refs/heads/master
v: v3
  • Loading branch information
Jim Cromie authored and John W. Linville committed Apr 12, 2012
1 parent 6837094 commit 40bf738
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: f26b6f3d0a2e1dd7c9617a16b0884d21bd4ce860
refs/heads/master: ea54a6d6e06cc456559befbcd26a903d24709253
6 changes: 2 additions & 4 deletions trunk/drivers/net/wireless/prism54/oid_mgt.c
Original file line number Diff line number Diff line change
Expand Up @@ -693,8 +693,6 @@ mgt_update_addr(islpci_private *priv)
return ret;
}

#define VEC_SIZE(a) ARRAY_SIZE(a)

int
mgt_commit(islpci_private *priv)
{
Expand All @@ -704,10 +702,10 @@ mgt_commit(islpci_private *priv)
if (islpci_get_state(priv) < PRV_STATE_INIT)
return 0;

rvalue = mgt_commit_list(priv, commit_part1, VEC_SIZE(commit_part1));
rvalue = mgt_commit_list(priv, commit_part1, ARRAY_SIZE(commit_part1));

if (priv->iw_mode != IW_MODE_MONITOR)
rvalue |= mgt_commit_list(priv, commit_part2, VEC_SIZE(commit_part2));
rvalue |= mgt_commit_list(priv, commit_part2, ARRAY_SIZE(commit_part2));

u = OID_INL_MODE;
rvalue |= mgt_commit_list(priv, &u, 1);
Expand Down

0 comments on commit 40bf738

Please sign in to comment.