aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2011-04-26 17:27:44 -0400
committerLuciano Coelho <coelho@ti.com>2011-05-02 03:27:30 -0400
commit86c438f40cf3e0f6ce2da80f2d759e61d3e85ad7 (patch)
tree918217f108fefe4cab9de40ffa44a6bb0b6b610c /drivers/net/wireless/wl12xx
parent34c8e3d2bb901b2920d2a8930c0de82e7fefac76 (diff)
wl12xx: do not set queue_mapping directly
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>
Diffstat (limited to 'drivers/net/wireless/wl12xx')
-rw-r--r--drivers/net/wireless/wl12xx/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index e177764e7140..a8770102a74a 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -1294,7 +1294,7 @@ static struct sk_buff *wl12xx_alloc_dummy_packet(struct wl1271 *wl)
1294 skb->priority = WL1271_TID_MGMT; 1294 skb->priority = WL1271_TID_MGMT;
1295 1295
1296 /* Initialize all fields that might be used */ 1296 /* Initialize all fields that might be used */
1297 skb->queue_mapping = 0; 1297 skb_set_queue_mapping(skb, 0);
1298 memset(IEEE80211_SKB_CB(skb), 0, sizeof(struct ieee80211_tx_info)); 1298 memset(IEEE80211_SKB_CB(skb), 0, sizeof(struct ieee80211_tx_info));
1299 1299
1300 return skb; 1300 return skb;