Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284323
b: refs/heads/master
c: d90db4b
h: refs/heads/master
i:
  284321: c716e01
  284319: 7d7bcc5
v: v3
  • Loading branch information
Larry Finger authored and John W. Linville committed Jan 10, 2012
1 parent 0021f7b commit c43e296
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: 874c60bad92564358e87d58f505fceb0b09ec1aa
refs/heads/master: d90db4b12bc1b9b8a787ef28550fdb767ee25a49
4 changes: 4 additions & 0 deletions trunk/drivers/net/wireless/rtlwifi/rtl8192se/fw.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ static bool _rtl92s_firmware_downloadcode(struct ieee80211_hw *hw,
/* Allocate skb buffer to contain firmware */
/* info and tx descriptor info. */
skb = dev_alloc_skb(frag_length);
if (!skb)
return false;
skb_reserve(skb, extra_descoffset);
seg_ptr = (u8 *)skb_put(skb, (u32)(frag_length -
extra_descoffset));
Expand Down Expand Up @@ -573,6 +575,8 @@ static bool _rtl92s_firmware_set_h2c_cmd(struct ieee80211_hw *hw, u8 h2c_cmd,

len = _rtl92s_get_h2c_cmdlen(MAX_TRANSMIT_BUFFER_SIZE, 1, &cmd_len);
skb = dev_alloc_skb(len);
if (!skb)
return false;
cb_desc = (struct rtl_tcb_desc *)(skb->cb);
cb_desc->queue_index = TXCMD_QUEUE;
cb_desc->cmd_or_init = DESC_PACKET_TYPE_NORMAL;
Expand Down

0 comments on commit c43e296

Please sign in to comment.