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)
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>

No differences found