Comment 9 for bug 1220007

Revision history for this message
Timothy G. Rundle (tgrundle) wrote : Re: RTL8192CU continually reconnecting

Upstream has provided me a patch. It it only for the 3.11 kernel as there have been significant changes between 3.8 and 3.11 to the rtlwifi drivers. I wasn't given a timeline as to when the patch would be committed. There was also provided updated firmware.

For those that like me that have never patch a kernel module here are the steps I took:

As root:
    apt-get install linux-source
    cd /usr/src
    tar -xf linux-source-3.11.0.tar.bz2
    cd linux-source-3.11.0
    patch -p1 < /path-to/master_patch_09_24.txt
    cp /lib/modules/`uname -r`/build/Module.symvers .
    make clean
    make oldconfig
    make prepare
    make modules_prepare
    make SUBDIRS=scripts/mod
    make SUBDIRS=drivers/net/wireless/rtlwifi
    for i in `find . -name '*.ko'`; do cp $i /lib/modules/`uname -r`/kernel/$i;done;
    #make sure to unblacklist the modules if you have blacklisted them and to blacklist the vendor 8192cu if installed
    reboot

To rollback:
    apt-get --reinstall install linux-image-`uname -r`