Hi Subash, 2018-06-09 19:55 GMT+02:00 Subash Abhinov Kasiviswanathan <subas...@codeaurora.org>: >> thanks, I will test it on Monday. >> >> Just a question for my knowledge: is the new sysfs attribute really >> needed? I mean, is there not any other way to understand from qmi_wwan >> without user intervention that there is the rmnet device attached? >> >> Regards, >> Daniele >> > > Hi Daniele > > You can check for the rx_handler attached to qmi_wwan dev and see if it > belongs to rmnet. You can use the attached patch for it but it think the > sysfs way might be a bit cleaner. >
both patches work properly for me. Maybe it could be helpful in the first patch to add a print when pass-through setting fails if raw-ip has not been set, just to let the user know what is happening. Thanks, Daniele > > -- > Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, > a Linux Foundation Collaborative Project