]> err.no Git - linux-2.6/blobdiff - drivers/net/wireless/hostap/hostap_ap.c
ipw2200 - Fix bad ipw_write8() macro
[linux-2.6] / drivers / net / wireless / hostap / hostap_ap.c
index 06b23df8f69b630fba0ebe48554d6dbb9d1dbd05..af3d4ef2a80b75218b52f538e93e58e8215f5930 100644 (file)
@@ -1930,7 +1930,7 @@ static void handle_pspoll(local_info_t *local,
                PDEBUG(DEBUG_PS, "   PSPOLL and AID[15:14] not set\n");
                return;
        }
-       aid &= ~BIT(15) & ~BIT(14);
+       aid &= ~(BIT(15) | BIT(14));
        if (aid == 0 || aid > MAX_AID_TABLE_SIZE) {
                PDEBUG(DEBUG_PS, "   invalid aid=%d\n", aid);
                return;