diff options
author | Gertjan van Wingerde <gwingerde@gmail.com> | 2012-09-23 20:22:53 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-09-25 21:57:43 +0200 |
commit | 3e4c4151e56ff367fb1487ea79134eea74104077 (patch) | |
tree | be677a3f904881307385a91c98ca62bf7e284373 /drivers/net/wireless/rt2x00/rt2800pci.c | |
parent | mwifiex: potential corruption in mwifiex_update_uap_custom_ie() (diff) | |
download | linux-3e4c4151e56ff367fb1487ea79134eea74104077.tar.xz linux-3e4c4151e56ff367fb1487ea79134eea74104077.zip |
rt2x00: Deprecate max_sta_intf field of struct rt2x00_ops.
All drivers set this value to 1, so there is no need (currently) to let
drivers set this.
Therefor, remove the field; we can always add it back when it is needed.
Inspired by an earlier patch from Paul Fertser.
Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Cc: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800pci.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800pci.c b/drivers/net/wireless/rt2x00/rt2800pci.c index 391e08fa054b..27829e1e2e38 100644 --- a/drivers/net/wireless/rt2x00/rt2800pci.c +++ b/drivers/net/wireless/rt2x00/rt2800pci.c @@ -1088,7 +1088,6 @@ static const struct data_queue_desc rt2800pci_queue_bcn = { static const struct rt2x00_ops rt2800pci_ops = { .name = KBUILD_MODNAME, .drv_data_size = sizeof(struct rt2800_drv_data), - .max_sta_intf = 1, .max_ap_intf = 8, .eeprom_size = EEPROM_SIZE, .rf_size = RF_SIZE, |