linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* zd1211 config operation problem
@ 2007-09-23 14:48 Michael Buesch
  2007-09-23 15:47 ` Ulrich Kunitz
  2007-09-23 17:48 ` Michael Wu
  0 siblings, 2 replies; 11+ messages in thread
From: Michael Buesch @ 2007-09-23 14:48 UTC (permalink / raw)
  To: Ulrich Kunitz, Daniel Drake; +Cc: linux-wireless, John Linville

The zd1211 driver has a bug in the ieee80211 config callback.
It currently unconditionally calls the set_channel() function,
whether the device is running or not. This causes a failed
bus access, if we set some config while the device is down.
The driver must check if the device is running before setting
any config on it (usb->initialized?).
I tried to fix this, but I failed to find the correct condition
to check for.

I'm also wondering why we only set the channel in the config
callback. Is the rest all unsupported by the device, like
setting of TX power and so on?

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-09-24 19:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-23 14:48 zd1211 config operation problem Michael Buesch
2007-09-23 15:47 ` Ulrich Kunitz
2007-09-23 17:48 ` Michael Wu
2007-09-24 16:41   ` Michael Buesch
2007-09-24 17:20     ` Johannes Berg
2007-09-24 17:21       ` Johannes Berg
2007-09-24 19:22         ` Michael Wu
2007-09-24 19:29           ` Johannes Berg
2007-09-24 19:58         ` Michael Buesch
2007-09-24 19:20       ` Michael Wu
2007-09-24 19:26         ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).