Print this page
8510 pcmcia: typo in pcmcia_prop_op

@@ -19,10 +19,12 @@
  * CDDL HEADER END
  */
 /*
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
+ *
+ * Copyright 2017 RackTop Systems.
  */
 
 /*
  * PCMCIA NEXUS
  *      The PCMCIA module is a generalized interface for

@@ -848,11 +850,11 @@
                         if (ppd->ppd_flags & PPD_CARD_CARDBUS)
                                 return (DDI_PROP_NOT_FOUND);
                         break;
                 case PCMCIA_PROP_CARDBUS:
                         propptr = NULL;
-                        if (!(ppd->ppd_flags * PPD_CARD_CARDBUS))
+                        if (!(ppd->ppd_flags & PPD_CARD_CARDBUS))
                                 return (DDI_PROP_NOT_FOUND);
                         break;
                 }
 
                 break;