Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 328397
b: refs/heads/master
c: 5570a91
h: refs/heads/master
i:
  328395: e5b3fb9
v: v3
  • Loading branch information
Wei Yongjun authored and John W. Linville committed Sep 28, 2012
1 parent af4c517 commit 0c098e5
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 2db96c3d0a1f716fc90451cc2ed13842471f4658
refs/heads/master: 5570a914f28f58de6839a4d532e98eb8167bd57d
5 changes: 2 additions & 3 deletions trunk/drivers/net/wireless/mwifiex/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -614,9 +614,8 @@ mwifiex_scan_channel_list(struct mwifiex_private *priv,

/* Increment the TLV header length by the size
appended */
chan_tlv_out->header.len =
cpu_to_le16(le16_to_cpu(chan_tlv_out->header.len) +
(sizeof(chan_tlv_out->chan_scan_param)));
le16_add_cpu(&chan_tlv_out->header.len,
sizeof(chan_tlv_out->chan_scan_param));

/*
* The tlv buffer length is set to the number of bytes
Expand Down

0 comments on commit 0c098e5

Please sign in to comment.