|
@@ -2623,6 +2623,12 @@ deinit:
|
|
|
!test_bit(WL1271_FLAG_INTENDED_FW_RECOVERY, &wl->flags))
|
|
|
goto unlock;
|
|
|
|
|
|
+ if (wl->ap_count == 0 && is_ap) {
|
|
|
+ /* mask ap events */
|
|
|
+ wl->event_mask &= ~wl->ap_event_mask;
|
|
|
+ wl1271_event_unmask(wl);
|
|
|
+ }
|
|
|
+
|
|
|
if (wl->ap_count == 0 && is_ap && wl->sta_count) {
|
|
|
u8 sta_auth = wl->conf.conn.sta_sleep_auth;
|
|
|
/* Configure for power according to debugfs */
|