]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - net/mac80211/util.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi...
[mirror_ubuntu-zesty-kernel.git] / net / mac80211 / util.c
index d23c5a705a6846db93596958c64139780a9874b4..e1b34a18b24344cb95a642c436fc5322054207ce 100644 (file)
@@ -1453,8 +1453,8 @@ int ieee80211_reconfig(struct ieee80211_local *local)
                local->resuming = true;
 
        if (local->wowlan) {
-               local->wowlan = false;
                res = drv_resume(local);
+               local->wowlan = false;
                if (res < 0) {
                        local->resuming = false;
                        return res;