]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
iwlwifi: verify the antenna selection when receive fixed rate debugfs
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Tue, 10 Mar 2009 21:35:12 +0000 (14:35 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Mar 2009 22:09:45 +0000 (18:09 -0400)
commit3c4955f8d9b706231d226d7a73877cb7d786277f
treebb7148499ca7a47031e3f8a60d828a65fe95949c
parentdf36c044f51ba6889c2d8b0efd285303bf2a0fbe
iwlwifi: verify the antenna selection when receive fixed rate debugfs

When iwlwifi driver receive fixed rate debugfs command, validate the
antenna selection, if the selection is invalid, report the valid antenna
choice and do not set the rate scale table to fixed rate. Otherwise, set
the entire rate scale table to the fixed rate request by the user. this
validation can prevent sysassert happen in uCode

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-rs.c