X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=net80211%2Fif_media.c;h=97f7368cccf0fa5b39c63758657095443c3fb9ae;hb=a6137f861b3c9c342da06c45395cd4472f04d017;hp=ace9ab99a12af9e6e75417318a5eab7504adf5bb;hpb=c2bce77197b5800315ab8d9654da8468e7e3a070;p=madwifi%2F.git diff --git a/net80211/if_media.c b/net80211/if_media.c index ace9ab9..97f7368 100644 --- a/net80211/if_media.c +++ b/net80211/if_media.c @@ -75,8 +75,10 @@ struct ifmedia_entry *ifmedia_match(struct ifmedia *, int, int); +/* #define IFMEDIA_DEBUG */ + #ifdef IFMEDIA_DEBUG -int ifmedia_debug = 0; +int ifmedia_debug = 1; static void ifmedia_printword(int); #endif @@ -190,7 +192,7 @@ ifmedia_ioctl(struct net_device *dev, struct ifreq *ifr, struct ifmedia *ifm, u_long cmd) { struct ifmedia_entry *match; - struct ifmediareq *ifmr = (struct ifmediareq *) ifr; + struct ifmediareq *ifmr = (struct ifmediareq *)ifr; int error = 0, sticky; if (dev == NULL || ifr == NULL || ifm == NULL)