I have two router : Buffalo WZR-HP-G300NH and TP-LINK TL-WR1043ND with kernel version 2.6.39.4

I made a my own kernel driver for network device.
and i execute as below for sending to WZR-HP-G300NH.
#scp xxx.ko root@192.168.1.1:/tmp

and i login to WZR-HP-G300NH using ssl and execute

#insmod xxx.ko
then works well and PC version also.

I try to compile newly for other model(TP-LINK TL-WR1043ND).
and I execute "insmod xxx.ko" then router is rebooted.

I can't see any report because is rebooted.

Please help me...
Thanks.