DMA on stack?

Oliver Neukum oliver at neukum.org
Tue Nov 13 10:10:04 EST 2007


Hi,

has anybody verified that this code: (if_usb.c::if_usb_suspend)

	if (priv->mesh_dev && !priv->mesh_autostart_enabled) {
		/* Mesh autostart must be activated while sleeping
		 * On resume it will go back to the current state
		 */
		struct cmd_ds_mesh_access mesh_access;
		memset(&mesh_access, 0, sizeof(mesh_access));
		mesh_access.data[0] = cpu_to_le32(1);
		libertas_prepare_and_send_command(priv,
				CMD_MESH_ACCESS,
				CMD_ACT_MESH_SET_AUTOSTART_ENABLED,
				CMD_OPTION_WAITFORRSP, 0, (void *)&mesh_access);

does not do DMA on the stack?

	Regards
		Oliver



More information about the libertas-dev mailing list