Skip to content

Commit

Permalink
rtl8192du: Fix WARNING
Browse files Browse the repository at this point in the history
Since converting to CFG80211, warnings of the following type have been issued:

[88526.660804] WARNING: CPU: 3 PID: 9705 at net/wireless/sme.c:848 __cfg80211_disconnected+0x3b8/0x3e0 [cfg80211]()

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
  • Loading branch information
lwfinger committed Jul 20, 2014
1 parent 3c8e1e3 commit 3f19b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion os_dep/ioctl_cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -4562,7 +4562,7 @@ int rtw_wdev_alloc(struct rtw_adapter *padapter, struct device *dev)
}
wdev->wiphy = wiphy;
wdev->netdev = pnetdev;
wdev->iftype = NL80211_IFTYPE_MONITOR; /* for rtw_setopmode_cmd() in cfg80211_rtw_change_iface() */
wdev->iftype = NL80211_IFTYPE_STATION;
padapter->rtw_wdev = wdev;
pnetdev->ieee80211_ptr = wdev;

Expand Down

0 comments on commit 3f19b29

Please sign in to comment.