[brcm-2.4] fix wlcompat so that the wl module can be unloaded
authorFlorian Fainelli <florian@openwrt.org>
Wed, 23 Feb 2011 22:10:08 +0000 (22:10 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 23 Feb 2011 22:10:08 +0000 (22:10 +0000)
commit82792d373e55432589d9ee09ec2db84291069595
treeba9fd118825e5fd7770bab67927ef4df67783d6a
parenta94ea903e92843338cf0e46d8c2ccb563e539331
[brcm-2.4] fix wlcompat so that the wl module can be unloaded

This patch was created on 8.09.2 but it also applies to Backfire
I found that I couldn't unload the broadcom wl driver, wlcompat didn't correctly release/decrement  the device pointer,
This patch cleans that up

I wanted to be able to remove/install the wl driver so that I could get out of monitor mode without rebooting

Signed-off-by: Chris Martin <chris@martin.cc>
SVN-Revision: 25671
package/broadcom-wl/Makefile
package/broadcom-wl/src/wlcompat/wlcompat.c