]> git.karo-electronics.de Git - linux-beck.git/blobdiff - drivers/net/wireless/ath/carl9170/main.c
Merge branches 'x86-fixes-for-linus', 'perf-fixes-for-linus' and 'sched-fixes-for...
[linux-beck.git] / drivers / net / wireless / ath / carl9170 / main.c
index 980ae70ea424f6dc50a93734446536588bea9734..a314c2c2bfbea433849dc60ae7f44f67c2785358 100644 (file)
@@ -647,7 +647,7 @@ init:
        }
 
 unlock:
-       if (err && (vif_id != -1)) {
+       if (err && (vif_id >= 0)) {
                vif_priv->active = false;
                bitmap_release_region(&ar->vif_bitmap, vif_id, 0);
                ar->vifs--;