the bison prereq check is no longer necessary
[openwrt.git] / package / mac80211 / patches / 600-p54usb_without_pm_support.patch
1 Fixes compile error when CONFIG_PM=n is set
2
3 --- a/drivers/net/wireless/p54/p54usb.c
4 +++ b/drivers/net/wireless/p54/p54usb.c
5 @@ -919,9 +919,11 @@ static int __devinit p54u_probe(struct u
6 priv->common.open = p54u_open;
7 priv->common.stop = p54u_stop;
8 if (recognized_pipes < P54U_PIPE_NUMBER) {
9 +#ifdef CONFIG_PM
10 /* ISL3887 needs a full reset on resume */
11 udev->reset_resume = 1;
12 err = p54u_device_reset(dev);
13 +#endif
14
15 priv->hw_type = P54U_3887;
16 dev->extra_tx_headroom += sizeof(struct lm87_tx_hdr);
This page took 0.043459 seconds and 5 git commands to generate.