[PATCH] ieee80211: Fix kernel panic when QoS is enabled
authorZhu Yi <yi.zhu@intel.com>
Mon, 13 Nov 2006 03:32:50 +0000 (11:32 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 15 Nov 2006 00:31:48 +0000 (19:31 -0500)
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 <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found