OK, so if you restore the two lines and this error goes away, can you then initialise the device without any other errors? Assuming that rfkill shows all is unlocked and the device active, what does iwlist wlan0 scan show now? -- Regards, Mick