iwl3945 : Fix ad-hoc mode for 3945
authorAbhijeet Kolekar <abhijeet.kolekar@intel.com>
Wed, 19 Nov 2008 23:32:22 +0000 (15:32 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 26 Nov 2008 14:47:36 +0000 (09:47 -0500)
commitce546fd2eacdbd8dc15f3d2ffd9a95661d082919
treec5c116dbec4c2abf565b58c40a97c7c95bc1e103
parent0e149cf5a1b1900484f4b808d59a5f246cd720be
iwl3945 : Fix ad-hoc mode for 3945

Patch fixes the ad-hoc mode by
1) Removing redundant clear_stations_table which prevented generation of
beacons.
2) Setting assoc_id to 1. It was never set so preventing tx flow
in iwl3945_tx_skb.

Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@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