]> git.baikalelectronics.ru Git - kernel.git/commit
iwmc3200wifi: cache keys when interface is down
authorSamuel Ortiz <samuel.ortiz@intel.com>
Mon, 15 Jun 2009 19:59:54 +0000 (21:59 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 18:57:52 +0000 (14:57 -0400)
commite992b49c379ae832482e87793cd1cdbb4afd9b63
treef1fd8ce07afec9562f178455a03aacf1faa43dc5
parent79660ec2231926959c2f339e8d47861b0a1899fe
iwmc3200wifi: cache keys when interface is down

When the interface is down and one sets a WEP key from userspace, we should
be able to simply cache it.
Since that implies setting part of the profile's security settings, we now
alloc/free the umac_profile at probe/remove time, and no longer at interface
bring up/down time. Simply resetting it during the latter is enough.

Signed-off-by: Samuel Ortiz <samuel.ortiz@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwmc3200wifi/cfg80211.c
drivers/net/wireless/iwmc3200wifi/main.c
drivers/net/wireless/iwmc3200wifi/netdev.c