Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 246901
b: refs/heads/master
c: b4ebd28
h: refs/heads/master
i:
  246899: 35f0f26
v: v3
  • Loading branch information
Johannes Berg authored and Wey-Yi Guy committed Apr 18, 2011
1 parent eb64b8a commit cdc942c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 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: 7b21f00ee6073909c01adeba317af3d78c3b9d0a
refs/heads/master: b4ebd28f23e3ae00af886aff1c00f800dee3b080
10 changes: 8 additions & 2 deletions trunk/drivers/net/wireless/iwlwifi/iwl-agn.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,10 @@ int iwlagn_send_beacon_cmd(struct iwl_priv *priv)
struct iwl_frame *frame;
unsigned int frame_size;
int rc;
struct iwl_host_cmd cmd = {
.id = REPLY_TX_BEACON,
.flags = CMD_SIZE_HUGE,
};

frame = iwl_get_free_frame(priv);
if (!frame) {
Expand All @@ -268,8 +272,10 @@ int iwlagn_send_beacon_cmd(struct iwl_priv *priv)
return -EINVAL;
}

rc = iwl_send_cmd_pdu(priv, REPLY_TX_BEACON, frame_size,
&frame->u.cmd[0]);
cmd.len = frame_size;
cmd.data = &frame->u.cmd[0];

rc = iwl_send_cmd_sync(priv, &cmd);

iwl_free_frame(priv, frame);

Expand Down

0 comments on commit cdc942c

Please sign in to comment.