mac80211: decrement ref count to netdev after launching mesh discovery
authorBrian Cavagnolo <brian@cozybit.com>
Sat, 17 Jan 2009 03:04:49 +0000 (19:04 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
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 <brian@cozybit.com>
Signed-off-by: Andrey Yurovsky <andrey@cozybit.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c