Re: [PATCHv4 12/16] staging: usbip: Pass session keys to the kernel

2013-10-25 Thread Dan Carpenter
On Sat, Oct 19, 2013 at 04:39:15PM +0200, Dominik Paulus wrote: > @@ -367,10 +367,17 @@ int usbip_host_export_device(struct > usbip_exported_device *edev, > return -1; > } > > - snprintf(sockfd_buff, sizeof(sockfd_buff), "%d\n", conf->sockfd); > - dbg("write: %s", soc

[PATCHv4 12/16] staging: usbip: Pass session keys to the kernel

2013-10-19 Thread Dominik Paulus
This extends the userspace code to write the generated session keys to sysfs in hexadecimal encoding after establishing the connection. The kernel code is modified to parse the session keys. Signed-off-by: Dominik Paulus Signed-off-by: Tobias Polzer --- drivers/staging/usbip/stub_dev.c