Skip to content

Commit

Permalink
Fix kernel 4.14 kernel RNDIS class
Browse files Browse the repository at this point in the history
These values need to be hex (without 0x prefix), not decimal.
  • Loading branch information
dlech authored and RobertCNelson committed Jan 15, 2018
1 parent b372df3 commit 714e162
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions boot/am335x_evm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -535,9 +535,9 @@ use_libcomposite () {
# Earlier kernels require the patch below as a work-around instead:
# https://github.com/beagleboard/linux/commit/e94487c59cec8ba32dc1eb83900297858fdc590b
if [ -f functions/rndis.usb0/class ]; then
echo 239 > functions/rndis.usb0/class
echo 4 > functions/rndis.usb0/subclass
echo 1 > functions/rndis.usb0/protocol
echo EF > functions/rndis.usb0/class
echo 04 > functions/rndis.usb0/subclass
echo 01 > functions/rndis.usb0/protocol
fi

mkdir -p functions/ecm.usb0
Expand Down

0 comments on commit 714e162

Please sign in to comment.