projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bf9a89
)
iwlwifi: comment that setting driver_data overrides info->control
author
Emmanuel Grumbach
<
[email protected]
>
Thu, 7 Jun 2012 11:23:06 +0000
(14:23 +0300)
committer
Johannes Berg
<
[email protected]
>
Wed, 13 Jun 2012 07:01:04 +0000
(09:01 +0200)
Using the driver_data area in ieee80211_tx_info which
resides in the CB overrides the info->control field.
Add a comment to prevent mistakes.
Signed-off-by: Emmanuel Grumbach <
[email protected]
>
Signed-off-by: Johannes Berg <
[email protected]
>
drivers/net/wireless/iwlwifi/dvm/tx.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/iwlwifi/dvm/tx.c
b/drivers/net/wireless/iwlwifi/dvm/tx.c
index 0dfaf649b25770e042ab84c3560abcd058270d2d..1f9457fdb933cb1571cc2bef208213d4d274649e 100644
(file)
--- a/
drivers/net/wireless/iwlwifi/dvm/tx.c
+++ b/
drivers/net/wireless/iwlwifi/dvm/tx.c
@@
-403,6
+403,7
@@
int iwlagn_tx_skb(struct iwl_priv *priv, struct sk_buff *skb)
info->driver_data[0] = ctx;
info->driver_data[1] = dev_cmd;
+ /* From now on, we cannot access info->control */
spin_lock(&priv->sta_lock);