hostapd: ubus: fix uninitialized pointer
[openwrt/staging/dedeckeh.git] / package / network / services / hostapd / patches / 600-ubus_support.patch
index 7bb998dbb8d84dad666f0f2d5c2d1e2dc04e3dc9..ccf66be6b82c3e4fd50ed8b26d24dc7fafe37de2 100644 (file)
  {
        u8 dialog_token, status_code, bss_termination_delay;
 -      const u8 *pos, *end;
-+      const u8 *pos, *end, *target_bssid;
++      const u8 *pos, *end, *target_bssid = NULL;
        int enabled = hapd->conf->bss_transition;
        struct sta_info *sta;