diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2012-06-07 07:23:06 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-06-13 03:01:04 -0400 |
commit | 11741739391c2f03bbaba5349f868618fe63922f (patch) | |
tree | 2175eb84b753cc8999a774b0d92372d72b5cea8a /drivers/net/wireless/iwlwifi/dvm/tx.c | |
parent | 5bf9a89d9a2eaa136a23d872db4195ca8cada4c8 (diff) |
iwlwifi: comment that setting driver_data overrides info->control
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 <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/dvm/tx.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/tx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/dvm/tx.c b/drivers/net/wireless/iwlwifi/dvm/tx.c index 0dfaf649b257..1f9457fdb933 100644 --- 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) | |||
403 | 403 | ||
404 | info->driver_data[0] = ctx; | 404 | info->driver_data[0] = ctx; |
405 | info->driver_data[1] = dev_cmd; | 405 | info->driver_data[1] = dev_cmd; |
406 | /* From now on, we cannot access info->control */ | ||
406 | 407 | ||
407 | spin_lock(&priv->sta_lock); | 408 | spin_lock(&priv->sta_lock); |
408 | 409 | ||