Skip to content

Commit

Permalink
wl12xx: do not set queue_mapping directly
Browse files Browse the repository at this point in the history
It is preferred to use the setter that to set queue_mapping directly.
This also helps backporting in compat-wireless.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luciano Coelho <coelho@ti.com>
  • Loading branch information
Hauke Mehrtens authored and Luciano Coelho committed May 2, 2011
1 parent 34c8e3d commit 86c438f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/wl12xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1294,7 +1294,7 @@ static struct sk_buff *wl12xx_alloc_dummy_packet(struct wl1271 *wl)
skb->priority = WL1271_TID_MGMT;

/* Initialize all fields that might be used */
skb->queue_mapping = 0;
skb_set_queue_mapping(skb, 0);
memset(IEEE80211_SKB_CB(skb), 0, sizeof(struct ieee80211_tx_info));

return skb;
Expand Down

0 comments on commit 86c438f

Please sign in to comment.