Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74507
b: refs/heads/master
c: 01e1f04
h: refs/heads/master
i:
  74505: 8d02d82
  74503: 6d01723
v: v3
  • Loading branch information
Daniel Drake authored and John W. Linville committed Nov 29, 2007
1 parent 78ed59a commit 13bb784
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: a10605e599a7873417043fe2bb559abe719f8a1a
refs/heads/master: 01e1f045e65b683fe7203b1e16a915bbb94c15fe
3 changes: 2 additions & 1 deletion trunk/net/ieee80211/ieee80211_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ static int ieee80211_copy_snap(u8 * data, u16 h_proto)
snap->oui[1] = oui[1];
snap->oui[2] = oui[2];

*(u16 *) (data + SNAP_SIZE) = htons(h_proto);
h_proto = htons(h_proto);
memcpy(data + SNAP_SIZE, &h_proto, sizeof(u16));

return SNAP_SIZE + sizeof(u16);
}
Expand Down

0 comments on commit 13bb784

Please sign in to comment.