On Wed, Dec 31, 2008 at 05:00:05PM -0600, Larry Finger wrote: > +#ifdef CONFIG_PM > + > +static int rtl8187_suspend(struct usb_interface *intf, pm_message_t > state) > +{ > + struct ieee80211_hw *dev = usb_get_intfdata(intf); > + > + rtl8187_stop(dev); > + > + return 0; > +} Won't this do the wrong thing if the interface is never brought up before you do suspend? (And then you can add a flag etc. to handle that case, but that's exactly what my mac80211 patches aim to do.) -- Bob Copeland %% www.bobcopeland.com _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm