OpenCloudOS-Kernel/drivers/net/wireless/b43
Johannes Berg 1924b4e294 b43: use temporary rate_index for error checking
The mac80211 rate_index changed to be a u8, so
can't hold the negative error value properly.
Use a temporary variable for error checking.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-07-17 15:11:31 -04:00
..
Kconfig b43: add option to avoid duplicating device support with brcmsmac 2012-01-18 14:49:47 -05:00
Makefile
b43.h b43: do not call ieee80211_unregister_hw if we are not registred 2012-06-08 13:47:06 -04:00
bus.c bcma: add boardinfo struct 2012-05-16 12:45:21 -04:00
bus.h
debugfs.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
debugfs.h
dma.c b43: use pci_is_pcie() instead of obsolete pci_dev.is_pcie 2012-05-16 12:46:33 -04:00
dma.h b43: use 8K buffers for 64-bit DMA to workaround hardware bug 2011-08-29 15:33:02 -04:00
leds.c net: fix assignment of 0/1 to bool variables. 2011-12-19 22:27:29 -05:00
leds.h
lo.c net: fix assignment of 0/1 to bool variables. 2011-12-19 22:27:29 -05:00
lo.h
main.c b43: do not call ieee80211_unregister_hw if we are not registred 2012-06-08 13:47:06 -04:00
main.h
pcmcia.c drivers/net: Add module.h to drivers who were implicitly using it 2011-10-31 19:31:07 -04:00
pcmcia.h
phy_a.c
phy_a.h
phy_common.c net: fix assignment of 0/1 to bool variables. 2011-12-19 22:27:29 -05:00
phy_common.h b43: make forcing clock common (HT-PHY also uses that) 2011-08-22 14:45:59 -04:00
phy_g.c net: fix assignment of 0/1 to bool variables. 2011-12-19 22:27:29 -05:00
phy_g.h
phy_ht.c b43: add my copyrights and myself as the module author 2011-09-14 13:56:25 -04:00
phy_ht.h b43: HT-PHY: read clip state 2011-08-26 10:47:57 -04:00
phy_lcn.c b43: LCN-PHY: minor clean ups 2011-09-27 14:34:02 -04:00
phy_lcn.h b43: LCN-PHY: finish sense setup 2011-09-19 16:10:14 -04:00
phy_lp.c net: fix assignment of 0/1 to bool variables. 2011-12-19 22:27:29 -05:00
phy_lp.h
phy_n.c b43: N-PHY: fix RSSI calibration 2012-07-09 16:36:36 -04:00
phy_n.h b43: N-PHY: implement TX power control setup 2012-01-24 14:06:05 -05:00
pio.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-01-04 21:35:43 -05:00
pio.h
radio_2055.c b43: add my copyrights and myself as the module author 2011-09-14 13:56:25 -04:00
radio_2055.h
radio_2056.c b43: N-PHY: finish 2.4GHz 0x2056 radio setup 2011-12-13 15:33:56 -05:00
radio_2056.h b43: N-PHY: finish 2.4GHz 0x2056 radio setup 2011-12-13 15:33:56 -05:00
radio_2059.c b43: add my copyrights and myself as the module author 2011-09-14 13:56:25 -04:00
radio_2059.h
rfkill.c
rfkill.h
sdio.c drivers/net: add missing __devexit_p() annotations 2012-04-21 15:28:47 -04:00
sdio.h
sysfs.c
sysfs.h
tables.c
tables.h
tables_lpphy.c
tables_lpphy.h
tables_nphy.c b43: N-PHY: upload PAPD PGA gain delta table 2012-01-24 14:06:05 -05:00
tables_nphy.h b43: N-PHY: upload PAPD PGA gain delta table 2012-01-24 14:06:05 -05:00
tables_phy_ht.c b43: add my copyrights and myself as the module author 2011-09-14 13:56:25 -04:00
tables_phy_ht.h b43: HT-PHY: allow writing longer tables with a single call 2011-08-23 16:14:19 -04:00
tables_phy_lcn.c b43: LCN-PHY: minor clean ups 2011-09-27 14:34:02 -04:00
tables_phy_lcn.h b43: LCN-PHY: load TX gain table on init 2011-09-14 13:56:26 -04:00
wa.c
wa.h
xmit.c b43: use temporary rate_index for error checking 2012-07-17 15:11:31 -04:00
xmit.h b43: HT-PHY: report signal to mac80211 2011-11-07 13:19:12 -05:00