]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8712u: Sets to SSID, and to AP MAC#, can now be done when the interface...
authorAli Bahar <ali@internetdog.org>
Tue, 12 Jul 2011 15:10:55 +0000 (23:10 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 19:24:31 +0000 (12:24 -0700)
commit7fc6d3e25795454f31953cea17e9aa199c01d6cd
tree4c73d53023626a1e688bfec9e0188fe0fc563161
parent1d024bfbf0e36074627ede499a09832c1444cfda
staging: r8712u: Sets to SSID, and to AP MAC#, can now be done when the interface is Down.

The original Realtek code assumed that ioctl Sets get done after the
interface is Up. This included the set to Essid and to the AP MAC#;
and it fit Realtek's installation procedure. But there is no such
necessity for the adapter, and no stated requirement found
elsewhere. Also, wireless drivers typically permit this.

A typical error message used to be:
Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device wlan0 ; Operation not permitted.

Signed-off-by: Ali Bahar <ali@internetDog.org>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8712/drv_types.h
drivers/staging/rtl8712/rtl871x_ioctl_linux.c