]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: fix stack corruption
authorJohannes Berg <johannes.berg@intel.com>
Mon, 12 Sep 2011 19:08:25 +0000 (21:08 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Sep 2011 18:18:39 +0000 (14:18 -0400)
commita111477c31dc371024a9f4e2caba93e89863532d
tree2a428721a56af0857c722f719304bcd4efab652c
parentf481aeeba2815f4b5c2706b17011c3cc3f0e3201
iwlagn: fix stack corruption

Alexander reported a strange crash in iwlagn that
Meenakshi and Wey couldn't reproduce. I just ran
into the same issue and tracked it down to stack
corruption. This fixes it.

The problem was introduced in
commit 4b8b99b6e650d0527f3a123744b7459976581d14
Author: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Date:   Fri Jul 8 14:29:48 2011 -0700

    iwlagn: radio sensor offset in le16 format

Cc: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Cc: Meenakshi Venkataraman <meenakshi.venkataraman@intel.com>
Reported-by: Alexander Diewald <alex@diewald.cc>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-ucode.c