Date: Sun, 24 Jan 2016 23:28:14 +0000 (UTC) From: Andriy Voskoboinyk <avos@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r294696 - head/sys/net80211 Message-ID: <201601242328.u0ONSEpN050688@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avos Date: Sun Jan 24 23:28:14 2016 New Revision: 294696 URL: https://svnweb.freebsd.org/changeset/base/294696 Log: 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) Modified: head/sys/net80211/ieee80211_ioctl.c Modified: head/sys/net80211/ieee80211_ioctl.c ============================================================================== --- head/sys/net80211/ieee80211_ioctl.c Sun Jan 24 23:24:47 2016 (r294695) +++ head/sys/net80211/ieee80211_ioctl.c Sun Jan 24 23:28:14 2016 (r294696) @@ -932,8 +932,6 @@ ieee80211_ioctl_get80211(struct ieee8021 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601242328.u0ONSEpN050688>