mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:14:05 +02:00
mac80211: merge fix for carl9170 upstream regression
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34590 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
1b1a83e0c2
commit
9ed6df8d40
@ -550,3 +550,14 @@
|
||||
struct ath_rx_stats rxstats;
|
||||
struct ath_dfs_stats dfs_stats;
|
||||
u32 reset[__RESET_TYPE_MAX];
|
||||
--- a/drivers/net/wireless/ath/carl9170/rx.c
|
||||
+++ b/drivers/net/wireless/ath/carl9170/rx.c
|
||||
@@ -684,7 +684,7 @@ static int carl9170_handle_mpdu(struct a
|
||||
if (!skb)
|
||||
return -ENOMEM;
|
||||
|
||||
- memcpy(IEEE80211_SKB_RXCB(skb), &status, sizeof(status));
|
||||
+ memcpy(IEEE80211_SKB_RXCB(skb), status, sizeof(*status));
|
||||
ieee80211_rx(ar->hw, skb);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user