X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fmac80211%2Ftx.c;h=306533ba0d3df2e5ae513e50f3a85f807168731f;hb=0a9d59a2461477bd9ed143c01af9df3f8f00fa81;hp=b64b42bc774be82ce40133237624a848d237289f;hpb=1ca05b7fc2672ea870bd58f45dc8d36d2b980f94;p=pandora-kernel.git diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index b64b42bc774b..306533ba0d3d 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c @@ -173,7 +173,7 @@ static __le16 ieee80211_duration(struct ieee80211_tx_data *tx, int group_addr, return cpu_to_le16(dur); } -static int inline is_ieee80211_device(struct ieee80211_local *local, +static inline int is_ieee80211_device(struct ieee80211_local *local, struct net_device *dev) { return local == wdev_priv(dev->ieee80211_ptr); @@ -1547,7 +1547,7 @@ static int ieee80211_skb_resize(struct ieee80211_local *local, skb_orphan(skb); } - if (skb_header_cloned(skb)) + if (skb_cloned(skb)) I802_DEBUG_INC(local->tx_expand_skb_head_cloned); else if (head_need || tail_need) I802_DEBUG_INC(local->tx_expand_skb_head);