[brcm-2.4] fix wlcompat so that the wl module can be unloaded
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 23 Feb 2011 22:10:08 +0000 (22:10 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 23 Feb 2011 22:10:08 +0000 (22:10 +0000)
commite6e6f69066c7d222a4c7928b9c1305762f2121af
treeba9fd118825e5fd7770bab67927ef4df67783d6a
parent167c9d4a4870d969f43776836d3f08766e0b08d0
[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>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@25671 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/broadcom-wl/Makefile
package/broadcom-wl/src/wlcompat/wlcompat.c