I have written the following program to get the ESSID of the wireless network to which my Desktop is currently connected, but it is giving me errors. Can anyone help me corr
Try setting wreq.u.essid.length to the right value.
wreq.u.essid.length