~ubuntu-branches/ubuntu/quantal/linux-lowlatency/quantal-proposed

« back to all changes in this revision

Viewing changes to drivers/net/wireless/mwifiex/uap_cmd.c

  • Committer: Package Import Robot
  • Author(s): Andy Whitcroft, Andy Whitcroft, Ubuntu: 3.5.0-3.3
  • Date: 2012-07-03 09:23:14 UTC
  • Revision ID: package-import@ubuntu.com-20120703092314-wjaqz3coxptokmtl
Tags: 3.5.0-3.3
[ Andy Whitcroft ]

* [Config] drop -pae from d-i configuration.
* rebase to Ubuntu-3.5.0-3.3

[ Ubuntu: 3.5.0-3.3 ]

* [Config] enable CONFIG_MEMTEST=y
  - LP: #1004535
* [Config] config-check: add support for a cut operation
* [Config] enforcer -- switch to cut where appropriate
* Rebase to v3.5-rc5
* [Config] Updateconfigs after rebase to v3.5-rc5
* SAUCE: ocfs2: Fix NULL pointer dereferrence in
  __ocfs2_change_file_space
  - LP: #1006012
* SAUCE: (drop after 3.5) drm/i915: ignore pipe select bit when checking
  for LVDS register initialization
  - LP: #1012800
* rebase to v3.5-rc5
  - LP: #1013183
  - LP: #1017017
  - LP: #884652

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
                              struct cfg80211_ap_settings *params) {
28
28
        int i;
29
29
 
 
30
        if (!params->privacy) {
 
31
                bss_config->protocol = PROTOCOL_NO_SECURITY;
 
32
                bss_config->key_mgmt = KEY_MGMT_NONE;
 
33
                bss_config->wpa_cfg.length = 0;
 
34
                priv->sec_info.wep_enabled = 0;
 
35
                priv->sec_info.wpa_enabled = 0;
 
36
                priv->sec_info.wpa2_enabled = 0;
 
37
 
 
38
                return 0;
 
39
        }
 
40
 
30
41
        switch (params->auth_type) {
31
42
        case NL80211_AUTHTYPE_OPEN_SYSTEM:
32
43
                bss_config->auth_mode = WLAN_AUTH_OPEN;