]> git.karo-electronics.de Git - linux-beck.git/commit
iwlwifi: Sanity check for sta_id
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 16 Dec 2011 15:31:35 +0000 (07:31 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 6 Jan 2012 21:02:41 +0000 (13:02 -0800)
commitd75140120971964dca1eee9aa5c9ab25bf0f664f
treefc382d1e11a2d00167467943e696c18d63c037db
parent64eeacb7f0317e5f3d6f0f63399ed00b4b2b7dc0
iwlwifi: Sanity check for sta_id

On my testing, I saw some strange behavior

[  421.739708] iwlwifi 0000:01:00.0: ACTIVATE a non DRIVER active station id 148 addr 00:00:00:00:00:00
[  421.739719] iwlwifi 0000:01:00.0: iwl_sta_ucode_activate Added STA id 148 addr 00:00:00:00:00:00 to uCode

not sure how it happen, but adding the sanity check to prevent memory
corruption

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-sta.c