Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d986bcd1 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by David S. Miller
Browse files

iwlwifi: Fix an invalid bitmask test in iwl3945 and iwl4965

parent 4fcc5470
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7120,7 +7120,7 @@ static void iwl3945_config_ap(struct iwl3945_priv *priv)
{
	int rc = 0;

	if (priv->status & STATUS_EXIT_PENDING)
	if (test_bit(STATUS_EXIT_PENDING, &priv->status))
		return;

	/* The following should be done only at AP bring up */
+1 −1
Original line number Diff line number Diff line
@@ -7580,7 +7580,7 @@ static void iwl4965_config_ap(struct iwl4965_priv *priv)
{
	int rc = 0;

	if (priv->status & STATUS_EXIT_PENDING)
	if (test_bit(STATUS_EXIT_PENDING, &priv->status))
		return;

	/* The following should be done only at AP bring up */