Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156356
b: refs/heads/master
c: dbc1eec
h: refs/heads/master
v: v3
  • Loading branch information
Patrick Simmons authored and John W. Linville committed Aug 3, 2009
1 parent a0faa6d commit fa10a95
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 371842448c05b42d11a4be1c8e4e81d62ecc7534
refs/heads/master: dbc1eec485625228895ded6baf6bd01ce2475410
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/zd1211rw/zd_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ int zd_mac_rx(struct ieee80211_hw *hw, const u8 *buffer, unsigned int length)
&& !mac->pass_ctrl)
return 0;

fc = *(__le16 *)buffer;
fc = get_unaligned((__le16*)buffer);
need_padding = ieee80211_is_data_qos(fc) ^ ieee80211_has_a4(fc);

skb = dev_alloc_skb(length + (need_padding ? 2 : 0));
Expand Down

0 comments on commit fa10a95

Please sign in to comment.