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
fe5a17c2a7
commit
bbef05d1dc
@ -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…
x
Reference in New Issue
Block a user