iwmc3200wifi: fix set_wpa_version and set_auth_type order
authorZhu Yi <yi.zhu@intel.com>
Mon, 3 Aug 2009 06:37:01 +0000 (14:37 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Aug 2009 20:44:25 +0000 (16:44 -0400)
commit554503f8c9e11cbea92b7cf1e31f7e4d93ad4492
tree681911b9f2d7dc7d8d887be192665646432a7e25
parent738f0f4301587ad09b58651390b122205086b484
iwmc3200wifi: fix set_wpa_version and set_auth_type order

iwm->umac_profile->sec.flags is set by iwm_set_wpa_version and
checked by iwm_set_auth_type. The patch changes the order to
make the flag used correctly.

Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwmc3200wifi/cfg80211.c