iwl3945: Fix iwl3945_init_drv()
authorSamuel Ortiz <sameo@linux.intel.com>
Thu, 8 Jan 2009 18:20:01 +0000 (10:20 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:00:16 +0000 (16:00 -0500)
commitc7a7c8ecd43b4bc796a8e79c46305e2a677b55f3
treedf8eb4244128280a1e5248e0a45b6e7229be8525
parenta8302de934b5d1897ff146cd0c7ab87d1417c092
iwl3945: Fix iwl3945_init_drv()

iwl3945_init_drv() initialises the wrong lock, and sets the wrong power saving
default level.
With this power saving mode, we are losing a lot of frames in Ad-Hoc mode.

This is a bug fix for bug #1873.
( http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1873 )

Signed-off-by: Samuel Ortiz <samuel.ortiz@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl3945-base.c