band-steering: add band-steering component
[project/usteer.git] / sta.c
diff --git a/sta.c b/sta.c
index 53f203af6bc8a6fabc69a7e27e5d84e2d1acc2b1..9c11bc3938e17fab312c8224fac5b4cac36784ba 100644 (file)
--- a/sta.c
+++ b/sta.c
@@ -160,8 +160,10 @@ usteer_sta_info_update(struct sta_info *si, int signal, bool avg)
        if (si->connected == STA_CONNECTED && si->signal != NO_SIGNAL && !avg)
                signal = NO_SIGNAL;
 
-       if (signal != NO_SIGNAL)
+       if (signal != NO_SIGNAL) {
                si->signal = signal;
+               usteer_band_steering_sta_update(si);
+       }
 
        si->seen = current_time;