net80211: reduce code duplication
Do not duplicate code between IEEE80211_IOC_WPAIE and IEEE80211_IOC_WPAIE2 switch cases. Approved by: adrian (mentor) Differential Revision: D5041 (part)
This commit is contained in:
parent
afbad87898
commit
536e056030
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=294696
@ -932,8 +932,6 @@ ieee80211_ioctl_get80211(struct ieee80211vap *vap, u_long cmd,
|
||||
ireq->i_len);
|
||||
break;
|
||||
case IEEE80211_IOC_WPAIE:
|
||||
error = ieee80211_ioctl_getwpaie(vap, ireq, ireq->i_type);
|
||||
break;
|
||||
case IEEE80211_IOC_WPAIE2:
|
||||
error = ieee80211_ioctl_getwpaie(vap, ireq, ireq->i_type);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user