RobertCNelson / boot-scripts

Just a bunch of useful scripts placed under /opt/scripts/
125 stars 132 forks source link

Add support for new RNDIS configfs options in kernel 4.14 #64

Closed dlech closed 6 years ago

dlech commented 6 years ago

This adds an if block to check if the attributes added in kernel 4.14 are present and use them.

Changes were introduced in this kernel commit: https://github.com/beagleboard/linux/commit/73517cf49bd449122b615d2b7a6bb835f02252e5

I haven't actually tested these changes, but they should allow you to drop https://github.com/beagleboard/linux/commit/e94487c59cec8ba32dc1eb83900297858fdc590b from the v4.14 bb.org kernel.

RobertCNelson commented 6 years ago

Thanks @dlech i was just thinking of this issue today, as i added the patch to v4.15.x a few seconds ago. ;)

Yeap, i'll drop the v4.14.x and v4.15.x version..

Regards,