1. 28 3月, 2013 15 次提交
  2. 07 3月, 2013 1 次提交
  3. 15 2月, 2013 2 次提交
  4. 09 2月, 2013 2 次提交
    • T
      brcmsmac: avoid 512 byte stack variable · 0d61c917
      Tim Gardner 提交于
      Dynamically allocate the probe response template which
      avoids potential stack corruption. Observed with smatch:
      
      drivers/net/wireless/brcm80211/brcmsmac/main.c:7412 brcms_c_bss_update_probe_resp()
       warn: 'prb_resp' puts 512 bytes on stack
      
      Cc: Brett Rudley <brudley@broadcom.com>
      Cc: Arend van Spriel <arend@broadcom.com>
      Cc: "Franky (Zhenhui) Lin" <frankyl@broadcom.com>
      Cc: Hante Meuleman <meuleman@broadcom.com>
      Cc: "John W. Linville" <linville@tuxdriver.com>
      Cc: Seth Forshee <seth.forshee@canonical.com>
      Cc: Pieter-Paul Giesberts <pieterpg@broadcom.com>
      Cc: Hauke Mehrtens <hauke@hauke-m.de>
      Cc: linux-wireless@vger.kernel.org
      Cc: brcm80211-dev-list@broadcom.com
      Cc: netdev@vger.kernel.org
      Signed-off-by: NTim Gardner <tim.gardner@canonical.com>
      Acked-by: NArend van Spriel <arend@broadcom.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      0d61c917
    • T
      brcmsmac: fix u16 overflow warning · 708eb54f
      Tim Gardner 提交于
      DOT11_MIN_BEACON_PERIOD and DOT11_MAX_BEACON_PERIOD are
      superfluous. The only invalid beacon period is 0. Comparing
      a 16 bit quantity to 0xffff also causes a compile warning:
      
      drivers/net/wireless/brcm80211/brcmsmac/main.c:5560 brcms_c_set_beacon_period()
       warn: impossible condition '(period > 65535) => (0-65535 > 65535)'
      
      Observed from smatch analysis.
      
      Cc: Brett Rudley <brudley@broadcom.com>
      Cc: Arend van Spriel <arend@broadcom.com>
      Cc: "Franky (Zhenhui) Lin" <frankyl@broadcom.com>
      Cc: Hante Meuleman <meuleman@broadcom.com>
      Cc: "John W. Linville" <linville@tuxdriver.com>
      Cc: Pieter-Paul Giesberts <pieterpg@broadcom.com>
      Cc: Seth Forshee <seth.forshee@canonical.com>
      Cc: Hauke Mehrtens <hauke@hauke-m.de>
      Cc: linux-wireless@vger.kernel.org
      Cc: brcm80211-dev-list@broadcom.com
      Cc: netdev@vger.kernel.org
      Signed-off-by: NTim Gardner <tim.gardner@canonical.com>
      Acked-by: NArend van Spriel <arend@broadcom.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      708eb54f
  5. 05 2月, 2013 1 次提交
  6. 29 1月, 2013 1 次提交
  7. 08 1月, 2013 2 次提交
  8. 11 12月, 2012 3 次提交
  9. 01 12月, 2012 3 次提交
  10. 22 11月, 2012 1 次提交
  11. 21 11月, 2012 9 次提交