Loading net/wireless/nl80211.c +2 −3 Original line number Diff line number Diff line Loading @@ -6561,8 +6561,7 @@ static int nl80211_set_cqm_txe(struct genl_info *info, struct wireless_dev *wdev; struct net_device *dev = info->user_ptr[1]; if ((rate < 0 || rate > 100) || (intvl < 0 || intvl > NL80211_CQM_TXE_MAX_INTVL)) if (rate > 100 || intvl > NL80211_CQM_TXE_MAX_INTVL) return -EINVAL; wdev = dev->ieee80211_ptr; Loading Loading
net/wireless/nl80211.c +2 −3 Original line number Diff line number Diff line Loading @@ -6561,8 +6561,7 @@ static int nl80211_set_cqm_txe(struct genl_info *info, struct wireless_dev *wdev; struct net_device *dev = info->user_ptr[1]; if ((rate < 0 || rate > 100) || (intvl < 0 || intvl > NL80211_CQM_TXE_MAX_INTVL)) if (rate > 100 || intvl > NL80211_CQM_TXE_MAX_INTVL) return -EINVAL; wdev = dev->ieee80211_ptr; Loading