Skip to content

Commit

Permalink
iwlwifi: increase max payload of iwl_cmd
Browse files Browse the repository at this point in the history
This patch increases iwl_cmd payload maximum size from 360 to 640
to fit some of iwl5000 commands as well.

Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Ron Rindjunsky authored and John W. Linville committed Jun 3, 2008
1 parent e1dfc08 commit bd68fb6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/net/wireless/iwlwifi/iwl-dev.h
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,8 @@ struct iwl_cmd_meta {

} __attribute__ ((packed));

#define IWL_CMD_MAX_PAYLOAD 640

/**
* struct iwl_cmd
*
Expand All @@ -332,7 +334,7 @@ struct iwl_cmd {
struct iwl4965_tx_beacon_cmd tx_beacon;
struct iwl4965_rxon_assoc_cmd rxon_assoc;
u8 *indirect;
u8 payload[360];
u8 payload[IWL_CMD_MAX_PAYLOAD];
} __attribute__ ((packed)) cmd;
} __attribute__ ((packed));

Expand Down

0 comments on commit bd68fb6

Please sign in to comment.