projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34c8e3d
)
wl12xx: do not set queue_mapping directly
author
Hauke Mehrtens
<hauke@hauke-m.de>
Tue, 26 Apr 2011 21:27:44 +0000
(23:27 +0200)
committer
Luciano Coelho
<coelho@ti.com>
Mon, 2 May 2011 07:27:30 +0000
(10:27 +0300)
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>
drivers/net/wireless/wl12xx/main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/wl12xx/main.c
b/drivers/net/wireless/wl12xx/main.c
index e177764e7140adc973dd02992484d701cba99c48..a8770102a74afa4cbce995e0670b60aaae0ee1d2 100644
(file)
--- 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)
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;