mac80211: decrement ref count to netdev after launching mesh discovery
authorBrian Cavagnolo <[email protected]>
Sat, 17 Jan 2009 03:04:49 +0000 (19:04 -0800)
committerJohn W. Linville <[email protected]>
Thu, 22 Jan 2009 18:55:00 +0000 (13:55 -0500)
commit5dc306f3bd1d4cfdf79df39221b3036eab1ddcf3
tree321bf9aa946024bdb171a9b1180dc0f73158dcba
parent6d317482944250228255bcbe97a95b7e7ad9a538
mac80211: decrement ref count to netdev after launching mesh discovery

After launching mesh discovery in tx path, reference count was not being
decremented.  This was preventing module unload.

Signed-off-by: Brian Cavagnolo <[email protected]>
Signed-off-by: Andrey Yurovsky <[email protected]>
Acked-by: Johannes Berg <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
net/mac80211/tx.c