summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8712/drv_types.h
diff options
context:
space:
mode:
authorAli Bahar <ali@internetdog.org>2011-07-12 15:10:55 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-23 19:24:31 (GMT)
commitd1661dfdb99138eca2d3fbcf9c651ffcaba6f28a (patch)
tree4c73d53023626a1e688bfec9e0188fe0fc563161 /drivers/staging/rtl8712/drv_types.h
parent1dac4186bcc663cb8c2bcc59481aea8fe9124a6c (diff)
downloadlinux-d1661dfdb99138eca2d3fbcf9c651ffcaba6f28a.tar.xz
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>
Diffstat (limited to 'drivers/staging/rtl8712/drv_types.h')
-rw-r--r--drivers/staging/rtl8712/drv_types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/staging/rtl8712/drv_types.h b/drivers/staging/rtl8712/drv_types.h
index 4f380a6..c5303c3 100644
--- a/drivers/staging/rtl8712/drv_types.h
+++ b/drivers/staging/rtl8712/drv_types.h
@@ -117,6 +117,11 @@ struct dvobj_priv {
struct usb_device *pusbdev;
};
+/**
+ * struct _adapter - the main adapter structure for this device.
+ *
+ * bup: True indicates that the interface is Up.
+ */
struct _adapter {
struct dvobj_priv dvobjpriv;
struct mlme_priv mlmepriv;