diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2014-11-07 17:05:12 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-11-10 19:10:23 +0100 |
commit | d1cd5ba4ca8b41793f4e581dd1dbf46b7f2cf691 (patch) | |
tree | e9dd99b731ebcf3da01e6b5513a5ea0d0cb64603 /drivers/net/wireless/rtlwifi/pci.c | |
parent | rtlwifi: Fix errors in descriptor manipulation (diff) | |
download | linux-d1cd5ba4ca8b41793f4e581dd1dbf46b7f2cf691.tar.xz linux-d1cd5ba4ca8b41793f4e581dd1dbf46b7f2cf691.zip |
rtlwifi: rtl8192se: Fix connection problems
Changes in the vendor driver were added to rtlwifi, but some updates
to rtl8192se were missed, and the driver could neither scan nor connect.
There are other changes that will enhance performance, but this minimal
set fix the basic functionality.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/pci.c')
-rw-r--r-- | drivers/net/wireless/rtlwifi/pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/pci.c b/drivers/net/wireless/rtlwifi/pci.c index 6d2b6281e22b..61f5d36eca6a 100644 --- a/drivers/net/wireless/rtlwifi/pci.c +++ b/drivers/net/wireless/rtlwifi/pci.c @@ -842,7 +842,8 @@ static void _rtl_pci_rx_interrupt(struct ieee80211_hw *hw) break; } /* handle command packet here */ - if (rtlpriv->cfg->ops->rx_command_packet(hw, stats, skb)) { + if (rtlpriv->cfg->ops->rx_command_packet && + rtlpriv->cfg->ops->rx_command_packet(hw, stats, skb)) { dev_kfree_skb_any(skb); goto end; } |