[PATCH 3.18 053/121] hdlcdrv: Fix divide by zero in hdlcdrv_ioctl