From: Nicolas Cavallari Date: Mon, 16 Jul 2012 16:36:52 +0000 (+0200) Subject: mac80211: fix tx-mgmt cookie value being left uninitialized X-Git-Tag: v3.6-rc1~125^2~57^2~57^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f9f78ab96ebdb3533acd791efe485b25995947e;p=pandora-kernel.git 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 Signed-off-by: Johannes Berg --- Reading git-diff-tree failed