rndis_wlan: use RNDIS_WLAN_NUM_KEYS for all key index checks
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Wed, 29 Feb 2012 14:25:00 +0000 (16:25 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 5 Mar 2012 20:23:17 +0000 (15:23 -0500)
commitf096ce6d244a380a78e19a7d7a25d9a4a6a6c9b7
tree1d3a07e6494f74322bb202cb11e7856fd5fbad2f
parentf808e4ad05704d4ba0082fbb27640294c6fa4eae
rndis_wlan: use RNDIS_WLAN_NUM_KEYS for all key index checks

Use new RNDIS_WLAN_NUM_KEYS for checks in add_wep_key() and add_wpa_key().

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rndis_wlan.c