From: Felix Fietkau Date: Thu, 14 Nov 2013 20:33:15 +0000 (+0100) Subject: rt2x00: fix a crash bug in the HT descriptor handling fix X-Git-Tag: v3.13-rc1~7^2~6^2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4089d6d8e71a7293e2192025dfa507a04f661c4;p=pandora-kernel.git rt2x00: fix a crash bug in the HT descriptor handling fix Commit "rt2x00: fix HT TX descriptor settings regression" assumes that the control parameter to rt2x00mac_tx is always non-NULL. There is an internal call in rt2x00lib_bc_buffer_iter where NULL is passed. Fix the resulting crash by adding an initialized dummy on-stack ieee80211_tx_control struct. Cc: stable@vger.kernel.org # 3.7+ Signed-off-by: Felix Fietkau Acked-by: Gertjan van Wingerde Signed-off-by: John W. Linville --- Reading git-diff-tree failed