From: Zhu Yi Date: Mon, 13 Nov 2006 03:32:50 +0000 (+0800) Subject: [PATCH] ieee80211: Fix kernel panic when QoS is enabled X-Git-Tag: v2.6.20-rc1~34^2~40^2~466^2~4^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efa53ebe0d2f50bf342eb1976824f59bba9941eb;p=pandora-kernel.git [PATCH] ieee80211: Fix kernel panic when QoS is enabled The 802.11 header length is affected by the wireless mode (WDS or not) and type (QoS or not). We should use the variable hdr_len instead of the hard coded IEEE80211_3ADDR_LEN, otherwise we may touch invalid memory. Signed-off-by: Zhu Yi Signed-off-by: John W. Linville --- Reading git-diff-tree failed