Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 328307
b: refs/heads/master
c: 513aa3b
h: refs/heads/master
i:
  328305: 290e01a
  328303: c2fa61c
v: v3
  • Loading branch information
Johannes Berg committed Sep 20, 2012
1 parent b086c30 commit 38b7980
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: ca42613a55aa947704a40945597c6f9b856df437
refs/heads/master: 513aa3b0d14be809490d5c151994cc7f047b0718
7 changes: 4 additions & 3 deletions trunk/drivers/net/wireless/iwlwifi/dvm/sta.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,11 @@ int iwl_add_sta_callback(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb,
struct iwl_device_cmd *cmd)
{
struct iwl_rx_packet *pkt = rxb_addr(rxb);
struct iwl_addsta_cmd *addsta =
(struct iwl_addsta_cmd *) cmd->payload;

return iwl_process_add_sta_resp(priv, addsta, pkt);
if (!cmd)
return 0;

return iwl_process_add_sta_resp(priv, (void *)cmd->payload, pkt);
}

int iwl_send_add_sta(struct iwl_priv *priv,
Expand Down

0 comments on commit 38b7980

Please sign in to comment.