fix wlcompat so that the wl module can be unloaded
authorFlorian Fainelli <[email protected]>
Wed, 23 Feb 2011 22:10:08 +0000 (22:10 +0000)
committerFlorian Fainelli <[email protected]>
Wed, 23 Feb 2011 22:10:08 +0000 (22:10 +0000)
commit9dab74808856aa1f674ac61b9e8ba2f6489e28f5
treeebc1bba264aabda3454654bfeb468ce83f803127
parent4e498822882c14eb6a998e4ed750a78e374adc97
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 <[email protected]>
SVN-Revision: 25671
package/broadcom-wl/Makefile
package/broadcom-wl/src/wlcompat/wlcompat.c