mac80211: don't return beacons when mesh is disabled
authorJohannes Berg <johannes.berg@intel.com>
Tue, 18 Jan 2011 12:45:32 +0000 (13:45 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 19 Jan 2011 16:36:11 +0000 (11:36 -0500)
commitac1bd8464f161ed1475ef73c431b926256c6b5bb
tree6a755cadfd24e1c988e75383d30c789c5b149b3d
parent4801416c76a3a355076d6d371c00270dfe332e1c
mac80211: don't return beacons when mesh is disabled

When mesh is disabled, mac80211 was returning
beacons with an empty mesh ID. That isn't
desirable, even if drivers shouldn't be trying
to get beacons to start with.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c