Nicolas Cavallari 7f9f78ab96 mac80211: fix tx-mgmt cookie value being left uninitialized
commit "mac80211: unify SW/offload remain-on-channel"
moved the cookie assignment from ieee80211_mgmt_tx()
to ieee80211_start_roc_work().  But the latter is only
called where offchannel is needed.  If offchannel isn't
needed/used, a uninitialized cookie value would be returned
to userspace.

This patch sets the cookie value when offchannel isn't used.

Signed-off-by: Nicolas Cavallari <cavallar@lri.fr>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2012-07-17 11:22:42 +02:00
..
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:20 -04:00
2012-06-24 11:32:29 +02:00
2012-06-24 11:33:18 +02:00
2012-06-24 11:32:29 +02:00
2012-07-12 12:10:44 +02:00
2012-07-03 13:50:34 +02:00
2009-07-10 15:01:49 -04:00
2012-06-24 11:32:29 +02:00
2012-06-24 11:32:29 +02:00
2012-06-24 11:33:18 +02:00
2012-07-09 14:49:15 +02:00
2012-06-24 11:32:38 +02:00
2012-06-24 11:32:29 +02:00
2012-06-24 11:32:29 +02:00
2012-06-24 11:32:29 +02:00
2012-06-24 11:32:29 +02:00
2012-07-13 16:15:54 +02:00
2011-03-31 11:26:23 -03:00
2012-07-12 12:10:44 +02:00
2012-06-24 11:32:29 +02:00
2012-06-12 13:56:41 +02:00
2012-06-22 11:26:58 +02:00
2012-06-24 11:33:18 +02:00
2012-03-13 14:54:16 -04:00
2012-06-20 17:35:22 +02:00
2012-06-20 17:35:22 +02:00