1. 30 10月, 2012 29 次提交
  2. 25 10月, 2012 2 次提交
  3. 20 10月, 2012 6 次提交
  4. 18 10月, 2012 2 次提交
    • A
      wireless: drivers: make use of WLAN_EID_VENDOR_SPECIFIC · 04b2312a
      Arend van Spriel 提交于
      The include file linux/ieee80211.h contains three definitions for
      the same thing in enum ieee80211_eid due to historic changes:
      
      /* Information Element IDs */
      enum ieee80211_eid {
          :
          WLAN_EID_WPA = 221,
          WLAN_EID_GENERIC = 221,
          WLAN_EID_VENDOR_SPECIFIC = 221,
          :
      };
      
      The standard refers to this as "vendor specific" element so the
      other two definitions are better not used. This patch changes the
      wireless drivers to use one definition, ie. WLAN_EID_VENDOR_SPECIFIC.
      
      Cc: Jouni Malinen <j@w1.fi>
      Cc: Dan Williams <dcbw@redhat.com>
      Cc: Larry Finger <Larry.Finger@lwfinger.net>
      Acked-by: Kalle Valo <kvalo@qca.qualcomm.com> [ath6kl]
      Acked-by: Bing Zhao <bzhao@marvell.com> [mwifiex]
      Acked-by: Stanislav Yakovlev <stas.yakovlev@gmail.com> [ipw2x00]
      Signed-off-by: NArend van Spriel <arend@broadcom.com>
      [change libipw as well]
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      04b2312a
    • J
      wireless: use OR operation to set wiphy features · b292219f
      Johannes Berg 提交于
      The next patch will introduce a flag that is set
      by default in cfg80211 so drivers and mac80211
      need to use |= to set features they have so that
      they don't clear the already-set feature.
      
      We could set the flag in wiphy_register() instead
      of wiphy_new() to avoid this patch, but then the
      drivers couldn't *unset* flags they don't want to
      use even though the implementation is generic.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      b292219f
  5. 09 10月, 2012 1 次提交
    • R
      carl9170: fix sleep in softirq context · 5bcbc3fc
      Ronald Wahl 提交于
      This patch fixes the following bug:
      
      usb 1-1.1: restart device (8)
      BUG: sleeping function called from invalid context at drivers/usb/core/urb.c:654
      in_atomic(): 1, irqs_disabled(): 0, pid: 0, name: swapper
       (usb_poison_urb+0x1c/0xf8)
       (usb_poison_anchored_urbs+0x48/0x78)
       (carl9170_usb_handle_tx_err+0x128/0x150)
       (carl9170_usb_reset+0xc/0x20)
       (carl9170_handle_command_response+0x298/0xea8)
       (carl9170_usb_tasklet+0x68/0x184)
       (tasklet_hi_action+0x84/0xdc)
      
      this only happens if the device is plugged in an USB port,
      the driver is loaded but inactive (e.g. the wlan interface
      is down). If the device is active everything is fine.
      Signed-off-by: NRonald Wahl <ronald.wahl@raritan.com>
      Signed-off-by: NChristian Lamparter <chunkeey@googlemail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      5bcbc3fc