GNOME Bugzilla – Bug 736802
libnm: fix nm_access_point_get_ssid() return value
Last modified: 2014-09-19 18:57:15 UTC
nm_access_point_get_ssid() used to return NULL if the AP didn't have a visible SSID. This got broken in the NM_TYPE_SSID -> G_TYPE_BYTES change. Fix that. (Fixes a crash in nmtui and nmcli with SSID-less APs.)
Created attachment 286375 [details] [review] libnm: fix nm_access_point_get_ssid() return value
Review of attachment 286375 [details] [review]: The patch is fine.
Created attachment 286597 [details] [review] tui,examples: accept null SSID gracefully nmcli uses nm_access_point_get_ssid() in two places that are safe. nmtui uses the function in 3 places, one needs fixing. And there are two occurences that need fixing in get-ap-info-libnm.c example.
committed both patches