diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-04-13 06:14:47 -0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-04-22 13:02:47 -0400 |
commit | 09f18afe766ea3f2c749e3af195bf65fde71b62e (patch) | |
tree | 9d8fe3c45266db491df2eb33c3d6afb56c710095 /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | 3e14c1fd75d909bfcc6caab79c544921fd02bf73 (diff) |
iwlagn: extend notification wait function
A notification wait function is called with the
command, but currently has no way of passing
data back to the caller -- fix that by adding a
void pointer to the function that can be used
between the caller and the function.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index e84534c4d956..d8bf11727aac 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -1105,7 +1105,9 @@ struct iwl_force_reset { | |||
1105 | struct iwl_notification_wait { | 1105 | struct iwl_notification_wait { |
1106 | struct list_head list; | 1106 | struct list_head list; |
1107 | 1107 | ||
1108 | void (*fn)(struct iwl_priv *priv, struct iwl_rx_packet *pkt); | 1108 | void (*fn)(struct iwl_priv *priv, struct iwl_rx_packet *pkt, |
1109 | void *data); | ||
1110 | void *fn_data; | ||
1109 | 1111 | ||
1110 | u8 cmd; | 1112 | u8 cmd; |
1111 | bool triggered; | 1113 | bool triggered; |