Skip to contentSkip to conversation

Add missing restore_flags to sm_wss.c (244-ac18)

PATCH New Rasmus Andersen 1 participant 1 message May 27, 2001 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add missing restore_flags to sm_wss.c (244-ac18)

Hi.

The following patch adds a missing restore_flags as per the stanford team's report way back. Applies against 244ac18.

drivers/net/hamradio/soundmodem/sm_wss.c +3 -1
@@ -172,8 +172,10 @@
 		/* MCE and interface config reg */
 		write_codec(dev, 0x49, fdx ? 0x8 : 0xc);
 	outb(0xb, WSS_CODEC_IA(dev->base_addr)); /* leave MCE */
-	if (SCSTATE->crystal && !fullcalib)
+	if (SCSTATE->crystal && !fullcalib) {
+		restore_flags(flags);
 		return 0;
+	}
 	/*
 	 * wait for ACI start
 	 */
Signature · 6 lines
Regards,
        Rasmus([email protected])

I've overclocked my keyboard interface.  It's quite messy dipping my
hands into the mineral oil, but *MAN* is my keyboard ever fast now!
                                         - Anonymous Coward