DMA on stack?

Dan Williams dcbw at redhat.com
Tue Nov 13 10:09:58 EST 2007


On Tue, 2007-11-13 at 16:10 +0100, Oliver Neukum wrote:
> 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?

I don't think so, no.

Dan





More information about the libertas-dev mailing list