iwlagn: fix warning in testmode attribute table
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 11 Jul 2011 17:47:39 +0000 (10:47 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Jul 2011 19:02:46 +0000 (15:02 -0400)
commita67792789868d95d14e46a7b6e0c1f214a6fcfb1
tree5a81b74f919f89a8e06c1c29bdb4796210a863d9
parent9dff387046ef20547236b75dd0d095904e4c0779
iwlagn: fix warning in testmode attribute table

Fix the compile warning cause by [IWL_TM_ATTR_MAX - 1]

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-sv-open.c