iwlwiif: mvm: refactor iwl_mvm_notify_rx_queue
Instead of allocating memory for which we have an upper limit, use a small buffer on stack. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
committed by
Johannes Berg
parent
c61b655a88
commit
521dc6c7c7
@ -776,7 +776,6 @@ struct iwl_rss_config_cmd {
|
||||
u8 indirection_table[IWL_RSS_INDIRECTION_TABLE_SIZE];
|
||||
} __packed; /* RSS_CONFIG_CMD_API_S_VER_1 */
|
||||
|
||||
#define IWL_MULTI_QUEUE_SYNC_MSG_MAX_SIZE 128
|
||||
#define IWL_MULTI_QUEUE_SYNC_SENDER_POS 0
|
||||
#define IWL_MULTI_QUEUE_SYNC_SENDER_MSK 0xf
|
||||
|
||||
|
Reference in New Issue
Block a user