ar71xxx: allow to build the ar934x_nfc driver for QCA955x
[openwrt.git] / package / acx-mac80211 / patches / 100-hw-queue-check-fix.patch
1 --- a/mem.c
2 +++ b/mem.c
3 @@ -2026,7 +2026,7 @@ static int __devinit acxmem_probe(struct
4          */
5         ieee->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION)
6                                         | BIT(NL80211_IFTYPE_ADHOC);
7 -       ieee->queues = 1;
8 +       ieee->queues = 4;
9         /* OW TODO Check if RTS/CTS threshold can be included here */
10  
11         /* TODO: although in the original driver the maximum value was
12 --- a/pci.c
13 +++ b/pci.c
14 @@ -1010,7 +1010,7 @@ static int __devinit acxpci_probe(struct
15                         BIT(NL80211_IFTYPE_STATION) |
16                         BIT(NL80211_IFTYPE_ADHOC) |
17                         BIT(NL80211_IFTYPE_AP);
18 -       ieee->queues = 1;
19 +       ieee->queues = 4;
20         /* OW TODO Check if RTS/CTS threshold can be included here */
21  
22         /* TODO: although in the original driver the maximum value was
23 @@ -1682,7 +1682,7 @@ static __devinit int vlynq_probe(struct
24                         BIT(NL80211_IFTYPE_STATION)     |
25                         BIT(NL80211_IFTYPE_ADHOC) |
26                         BIT(NL80211_IFTYPE_AP);
27 -       ieee->queues = 1;
28 +       ieee->queues = 4;
29  
30         /* We base signal quality on winlevel approach of previous driver
31          * TODO OW 20100615 This should into a common init code
32 --- a/usb.c
33 +++ b/usb.c
34 @@ -1627,7 +1627,7 @@ acxusb_probe(struct usb_interface *intf,
35          */
36         ieee->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION)
37                         | BIT(NL80211_IFTYPE_ADHOC);
38 -       ieee->queues = 1;
39 +       ieee->queues = 4;
40         // OW TODO Check if RTS/CTS threshold can be included here
41  
42         // We base signal quality on winlevel approach of previous driver