Giorgos Keramidas 578fece5ff Revert iwn channel-argument handling of set_txpower() to r201822
Pass the channel argument as a real argument and not through
RXON.  The RXON version seems to have problem with both the older
228.57.2.23 firmware and the latest 228.61.2.24 version resulting
in device initialization errors like:

  wpa_supplicant[2928]: Failed to initiate AP scan.
  kernel: firmware error log:
  kernel: error type      = "SYSASSERT" (0x00000005)
  kernel: program counter = 0x0000147C
  kernel: source line     = 0x0000058B
  kernel: error data      = 0x0000058B00000000
  kernel: branch link     = 0x0000145A00001492
  kernel: interrupt link  = 0x000006DE00000000
  kernel: time            = 7310
  ...
  kernel: iwn0: iwn_config: could not set TX power
  kernel: iwn0: iwn_init_locked: could not configure device, error 35

By passing the current channel to hal->set_txpower() the firmware
error is fixed, at least for the 4965 chipset of my Thinkpad and
the ones tested by Bernhard.

Submitted by:	Bernhard Schmidt <bschmidt@techwires.net>
Approved by:	rpaulo
2010-01-09 04:00:22 +00:00
..
2009-11-16 21:47:12 +00:00
2009-05-13 22:31:25 +00:00
2009-09-14 21:33:00 +00:00
2009-11-11 20:29:40 +00:00
2010-01-03 23:28:32 +00:00
2010-01-03 23:26:29 +00:00
2009-11-25 13:31:17 +00:00
2009-06-21 19:17:22 +00:00
2009-12-16 12:25:27 +00:00
2010-01-08 20:40:28 +00:00
2009-04-14 11:23:09 +00:00
2010-01-08 15:57:56 +00:00
2010-01-03 23:31:58 +00:00
2010-01-01 22:47:53 +00:00
2009-06-14 00:15:26 +00:00
2010-01-03 23:31:58 +00:00
2009-09-06 10:27:45 +00:00
2009-05-25 22:50:11 +00:00
2009-08-23 08:04:40 +00:00
2010-01-08 15:52:06 +00:00
2009-12-25 00:23:47 +00:00
2010-01-03 23:29:49 +00:00