Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291151
b: refs/heads/master
c: 8f526ab
h: refs/heads/master
i:
  291149: dad9d3e
  291147: 17fbe62
  291143: 1b8679f
  291135: 524815e
v: v3
  • Loading branch information
Larry Finger authored and John W. Linville committed Mar 5, 2012
1 parent 514ed2b commit f7ebe3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 48de1a17fc41613b7e9d61037fa989256d04234f
refs/heads/master: 8f526ab4aa1b145bda2baf56e223050c7ef3e1b0
5 changes: 2 additions & 3 deletions trunk/drivers/net/wireless/rtlwifi/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ static int _rtl_usb_init(struct ieee80211_hw *hw)
return err;
}

static int _rtl_usb_init_sw(struct ieee80211_hw *hw)
static void rtl_usb_init_sw(struct ieee80211_hw *hw)
{
struct rtl_mac *mac = rtl_mac(rtl_priv(hw));
struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw));
Expand Down Expand Up @@ -397,7 +397,6 @@ static int _rtl_usb_init_sw(struct ieee80211_hw *hw)
/* HIMR_EX - turn all on */
rtlusb->irq_mask[1] = 0xFFFFFFFF;
rtlusb->disableHWSM = true;
return 0;
}

#define __RADIO_TAP_SIZE_RSV 32
Expand Down Expand Up @@ -983,7 +982,7 @@ int __devinit rtl_usb_probe(struct usb_interface *intf,
err = _rtl_usb_init(hw);
if (err)
goto error_out;
err = _rtl_usb_init_sw(hw);
rtl_usb_init_sw(hw);
/* Init mac80211 sw */
err = rtl_init_core(hw);
if (err) {
Expand Down

0 comments on commit f7ebe3e

Please sign in to comment.